Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface UploadTextOptions <T >

Options for uploading a text as a binary file into the repository

Type parameters

  • T

Hierarchy

Index

Properties

binaryPropertyName

binaryPropertyName: string

Name of the binary property on the content, e.g.: Binary

Optional body

body: any

Additional post body options

Optional contentTypeName

contentTypeName: undefined | string

The name of the content type, e.g.: File

fileName

fileName: string

The name of the File object

Optional oDataOptions

oDataOptions: ODataParams<T>

An OData Options object

overwrite

overwrite: boolean

Enable overwriting a file if already exists

parentPath

parentPath: string

The path of the parent content

Optional progressObservable

progressObservable: ObservableValue<UploadProgressInfo>

Optional observable that will be updated with the upload progress

Optional requestInit

requestInit: RequestInit

Additional fetch request init options

text

text: string

The text to be uploaded

Generated using TypeDoc