Skip to main content

Get an upload session.

GET/api/v1/uploads/{upload_id}None

An open session lists the parts storage does not hold yet, with fresh URLs: send those to resume an interrupted upload.

ScopeNone
AsynchronousNo
MCP toolget_upload

Parameters​

NameInTypeRequiredDescription
upload_idpathstringRequired
Docwize-Versionheaderstring (date)Optional
If-None-MatchheaderstringOptionalAnswers 304 when the representation is unchanged (resources that publish an ETag).

Responses​

StatusDescriptionBody
200Success.application/json Upload
304Not modified (If-None-Match matched the ETag).
400invalid_versionapplication/problem+json Problem
401token_expired, unauthenticatedapplication/problem+json Problem
403forbidden, insufficient_scope, token_owner_inactiveapplication/problem+json Problem
404not_foundapplication/problem+json Problem
405method_not_allowedapplication/problem+json Problem
406not_acceptableapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

Errors​

The problem codes this operation can answer with. Each code links to its page.

Schemas​

Upload​

FieldTypeRequiredDescription
content_typestringRequired
expires_atstring (date-time)RequiredThe session, its part URLs and an upload not yet used by its consumer are discarded after this.
file_namestringRequired
part_size_bytesstringRequiredEvery part but the last is exactly this long: part n holds the bytes from (n-1) × part_size_bytes.
partsarray of UploadPartRequiredThe parts still to send, with their URLs: all of them on create, the ones storage does not hold yet on a read (resume). Empty once the session is completed or aborted.
purposestring: document, forge_bundle, plugin_bundle, certificate, workflow_attachment, annotation_picture or stringRequired
size_bytesstringRequired
statusstring: open, completed, aborted or stringRequired
upload_idstringRequired

UploadPart​

FieldTypeRequiredDescription
expires_atstring (date-time)Required
part_numberintegerRequired≥ -2147483648; ≤ 2147483647
urlstringRequiredPUT the part's bytes here, without authentication headers.