Upload File Chunks

ExperimentalThis API is under active development and may change.
POST /api/0/organizations/{organization_id_or_slug}/chunk-upload/

Upload file chunks so they can be assembled into debug information files or artifact bundles. Send requests to the URL from the chunk upload options, which uses the region-specific domain (for example us.sentry.io or de.sentry.io).

Chunks may be compressed with one of the codecs listed in the options. Select it with the Content-Encoding request header. Resending a chunk is safe: chunks are stored by checksum, so an identical upload changes nothing.

Path Parameters

organization_id_or_slug (string)
REQUIRED

The ID or slug of the organization the resource belongs to.

Body Parameters

file (array(string))
REQUIRED

The chunks to upload. Name each part after the SHA-1 checksum of its uncompressed content. Repeat the field for each chunk, up to chunksPerRequest per request.

Scopes

<auth_token> requires one of the following scopes:
  • org:ci
  • project:admin
  • project:releases
  • project:write
Copied
curl https://sentry.io/api/0/organizations/{organization_id_or_slug}/chunk-upload/ \
 -H 'Authorization: Bearer <auth_token>' \
 -H 'Content-Type: multipart/form-data'
RESPONSE
Copied
Success.
Was this helpful?