UploadRequest
Defined in: libs/ccs-files-user-client/src/core/types.ts:397
POST P/uploads: the service’s UploadRequest. upload() fills name, size and mime_type from the file.
Properties
Section titled “Properties”name:
string
Defined in: libs/ccs-files-user-client/src/core/types.ts:398
size:
number
Defined in: libs/ccs-files-user-client/src/core/types.ts:399
mime_type
Section titled “mime_type”mime_type:
string
Defined in: libs/ccs-files-user-client/src/core/types.ts:400
folder_id?
Section titled “folder_id?”
optionalfolder_id?:string
Defined in: libs/ccs-files-user-client/src/core/types.ts:402
Root by default; "root" is accepted.
content_sha256?
Section titled “content_sha256?”
optionalcontent_sha256?:string
Defined in: libs/ccs-files-user-client/src/core/types.ts:404
Hex SHA-256; checksum: true on the client computes it.
title?
Section titled “title?”
optionaltitle?:string|null
Defined in: libs/ccs-files-user-client/src/core/types.ts:405
description?
Section titled “description?”
optionaldescription?:string|null
Defined in: libs/ccs-files-user-client/src/core/types.ts:406
category?
Section titled “category?”
optionalcategory?:string|null
Defined in: libs/ccs-files-user-client/src/core/types.ts:407
department?
Section titled “department?”
optionaldepartment?:string|null
Defined in: libs/ccs-files-user-client/src/core/types.ts:408
optionaltags?:string[]
Defined in: libs/ccs-files-user-client/src/core/types.ts:409
custom?
Section titled “custom?”
optionalcustom?:Record<string,string>
Defined in: libs/ccs-files-user-client/src/core/types.ts:410
status?
Section titled “status?”
optionalstatus?:FileStatus
Defined in: libs/ccs-files-user-client/src/core/types.ts:411
visibility?
Section titled “visibility?”
optionalvisibility?:Visibility
Defined in: libs/ccs-files-user-client/src/core/types.ts:412
policy?
Section titled “policy?”
optionalpolicy?:string
Defined in: libs/ccs-files-user-client/src/core/types.ts:414
The name of an entry of settings.upload_policies; an unknown name falls back to the default (policy_applied).
entries?
Section titled “entries?”
optionalentries?:AccessEntryInput[]
Defined in: libs/ccs-files-user-client/src/core/types.ts:415
inherit?
Section titled “inherit?”
optionalinherit?:boolean
Defined in: libs/ccs-files-user-client/src/core/types.ts:416
external_ref?
Section titled “external_ref?”
optionalexternal_ref?:string|null
Defined in: libs/ccs-files-user-client/src/core/types.ts:418
Your own id for the file, at most 200 characters.
notify_user_ids?
Section titled “notify_user_ids?”
optionalnotify_user_ids?:string[]
Defined in: libs/ccs-files-user-client/src/core/types.ts:420
Who gets file.ready besides the owner.
on_name_conflict?
Section titled “on_name_conflict?”
optionalon_name_conflict?:"fail"|"rename"
Defined in: libs/ccs-files-user-client/src/core/types.ts:422
A sibling with the same name: fail (default, 409 name_conflict) or rename (IMG_5913 (1).jpg).