UploadTicket
Defined in: libs/ccs-files-user-client/src/core/types.ts:453
The service’s UploadTicket, as POST P/uploads (or your backend) hands it out.
Properties
Section titled “Properties”upload_id
Section titled “upload_id”upload_id:
string
Defined in: libs/ccs-files-user-client/src/core/types.ts:454
file_id
Section titled “file_id”file_id:
string
Defined in: libs/ccs-files-user-client/src/core/types.ts:455
version_no
Section titled “version_no”version_no:
number
Defined in: libs/ccs-files-user-client/src/core/types.ts:456
status
Section titled “status”status:
UploadTicketStatus
Defined in: libs/ccs-files-user-client/src/core/types.ts:457
policy_applied
Section titled “policy_applied”policy_applied:
string
Defined in: libs/ccs-files-user-client/src/core/types.ts:458
method
Section titled “method”method:
"put"|"multipart"
Defined in: libs/ccs-files-user-client/src/core/types.ts:459
optionalurl?:string|null
Defined in: libs/ccs-files-user-client/src/core/types.ts:461
put only (null on the wire otherwise; optional so a ticket typed by the Node SDK is accepted as is).
headers
Section titled “headers”headers:
Record<string,string>
Defined in: libs/ccs-files-user-client/src/core/types.ts:463
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-user-client/src/core/types.ts:465
multipart only.
parts_total?
Section titled “parts_total?”
optionalparts_total?:number|null
Defined in: libs/ccs-files-user-client/src/core/types.ts:466
parts?
Section titled “parts?”
optionalparts?:UploadPartUrl[] |null
Defined in: libs/ccs-files-user-client/src/core/types.ts:468
multipart only: the first 100 part URLs.
expires_at
Section titled “expires_at”expires_at:
string
Defined in: libs/ccs-files-user-client/src/core/types.ts:469
parts_uploaded?
Section titled “parts_uploaded?”
optionalparts_uploaded?:object[]
Defined in: libs/ccs-files-user-client/src/core/types.ts:471
On GET P/uploads/:upload_id: the parts the store already has.
part_number
Section titled “part_number”part_number:
number
etag:
string
size:
number