Skip to main content

Upload one chunk

PUT 

/uploads/:id/chunks/:n

Sends chunk n (1-based) as the raw request body with Content-Length. Content-Range (bytes start-end/total) is optional: when absent the range is derived from n, the session's chunk size and the body length, so every chunk but the last must be exactly chunk_size_bytes long; when sent it is validated against the same geometry. X-Chunk-Sha256 optionally carries the chunk's hex SHA-256. Chunks may be sent in any order and retried.

Request​

Responses​

Chunk stored