Skip to main content
PATCH
Send an upload chunk

Authorizations

Authorization
string
header
required

A scoped token minted in Settings → API tokens. Send it as Authorization: Bearer tplt_… or X-API-Key: tplt_….

Headers

Upload-Offset
integer
required

The number of bytes already sent for this upload, before this chunk.

Path Parameters

upload
string
required

The upload_id from POST /videos/{video}/upload/init.

Body

application/offset+octet-stream

The body is of type file.

Response

The chunk was written, or this offset was already written and the chunk was not repeated.

offset
integer

The total bytes received so far. Send your next chunk's Upload-Offset header as this value.

size
integer

The size declared at init.