Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface UploadFileOptions <T >

Options for uploading a 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

file

file: File

The File instance

Optional fileName

fileName: undefined | string

The name of the File object. Overwriting this can be used to change a content's binary.

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

Generated using TypeDoc