Skip to main content

UploadedFile

Information about an uploaded file.

NameDescriptionType
upload_idUpload id of the file. Zero if pwszFileRef is set.number
titleThe title of the file.string
extensionFile extension, not including the dot (e.g. "doc").string
sizeThe logical size of the file in bytes.number
file_refIf not empty, the file reference of a completed stateless upload. Exactly one of upload_id and file_ref must be set.string

Example​

{
"upload_id": 0,
"title": "<title>",
"extension": "<extension>",
"size": 0,
"file_ref": "<file ref>"
}