UploadTicket
Defined in: libs/ccs-files-client/src/types.ts:549
Properties
Section titled “Properties”upload_id
Section titled “upload_id”upload_id:
string
Defined in: libs/ccs-files-client/src/types.ts:550
file_id
Section titled “file_id”file_id:
string
Defined in: libs/ccs-files-client/src/types.ts:551
version_no
Section titled “version_no”version_no:
number
Defined in: libs/ccs-files-client/src/types.ts:552
status
Section titled “status”status:
UploadTicketStatus
Defined in: libs/ccs-files-client/src/types.ts:553
policy_applied
Section titled “policy_applied”policy_applied:
string
Defined in: libs/ccs-files-client/src/types.ts:554
method
Section titled “method”method:
"put"|"multipart"
Defined in: libs/ccs-files-client/src/types.ts:555
optionalurl?:string|null
Defined in: libs/ccs-files-client/src/types.ts:557
put only (null otherwise).
headers
Section titled “headers”headers:
Record<string,string>
Defined in: libs/ccs-files-client/src/types.ts:559
Always contains Content-Type. A single PUT sends exactly these headers and nothing else.
part_size?
Section titled “part_size?”
optionalpart_size?:number|null
Defined in: libs/ccs-files-client/src/types.ts:561
multipart only (null otherwise).
parts_total?
Section titled “parts_total?”
optionalparts_total?:number|null
Defined in: libs/ccs-files-client/src/types.ts:562
parts?
Section titled “parts?”
optionalparts?:UploadPartUrl[] |null
Defined in: libs/ccs-files-client/src/types.ts:564
multipart only: the first 100 part URLs; uploads.parts gives the rest. null for a single PUT.
expires_at
Section titled “expires_at”expires_at:
string
Defined in: libs/ccs-files-client/src/types.ts:565
parts_uploaded?
Section titled “parts_uploaded?”
optionalparts_uploaded?:object[]
Defined in: libs/ccs-files-client/src/types.ts:567
On uploads.status: the parts the store already has.
part_number
Section titled “part_number”part_number:
number
etag:
string
size:
number