oci

Upload a chunk of data

Changed on

Appends a chunk of data to an in-progress upload session. This is the recommended approach for large blobs, as each chunk is stored immediately rather than buffering the entire blob in memory.

Clients can call this endpoint multiple times to upload a blob in pieces, then call PUT /v2/{name}/blobs/uploads/{session_id}?digest=... to complete the upload.

The Content-Range header is optional but recommended - if provided, the server validates that the chunk starts at the expected offset.

patch/v2/{name}/blobs/{ref}/{session_id}

Request

  • The document declares no server URL.
  • Auth
    none declared

Path parameters

namestring required

Project resource ID (UUID or slug)

refstring required

Must be "uploads" for upload operations

session_idstring required

Upload session ID

Request body application/octet-stream

string binary required

Changes