PrepareUploadResponse
@blobs/sdk / services / PrepareUploadResponse
Defined in: services/MediaService.ts:59
Response from the PrepareUpload endpoint, containing the signed URL and (when applicable)
chunked-upload metadata for large files.
Properties
media
media:
Media
Defined in: services/MediaService.ts:61
Media record reserved for the upload.
upload_url
upload_url:
string
Defined in: services/MediaService.ts:63
Signed URL the client should PUT the file body to (single-shot uploads).
method
method:
string
Defined in: services/MediaService.ts:65
HTTP method the client should use for the upload (typically PUT).
expires_in?
optionalexpires_in?:number
Defined in: services/MediaService.ts:67
Optional TTL in seconds for upload_url.
chunked?
optionalchunked?:boolean
Defined in: services/MediaService.ts:69
True when chunked upload is required (file size exceeds the single-shot threshold).
chunk_size?
optionalchunk_size?:number
Defined in: services/MediaService.ts:71
Size in bytes of each chunk when chunked upload is used.
total_chunks?
optionaltotal_chunks?:number
Defined in: services/MediaService.ts:73
Total number of chunks the client must upload.
chunk_upload_url?
optionalchunk_upload_url?:string
Defined in: services/MediaService.ts:75
Base URL for chunked uploads — chunks are PUT to ${chunk_upload_url}/${chunkIndex}.