Skip to main content

Upload a chunk

PATCH 

/v1/storages/upload/resumable/:id

Appends a chunk to the specified upload session.

  • The Tus-Resumable: 1.0.0, Upload-Offset, and Content-Type: application/offset+octet-stream headers are required;
  • The Content-Length header is required (chunked transfer encoding is not supported);
  • If Upload-Defer-Length: 1 was used at creation, declare the total file size via Upload-Length in any PATCH request.

Request​

Responses​

Chunk uploaded successfully, no response body

Response Headers
    Upload-Offset

    Latest byte offset of uploaded data

    Tus-Resumable

    TUS protocol version

    Upload-Expires

    Expiration time of an unfinished session (RFC 1123 format); not returned after the final chunk

    Tus-Complete

    Set to 1 when the last chunk is uploaded, indicating the object has been written to storage

    X-Request-Id

    Gateway request ID, useful for log searches