Assemble an Artifact Bundle

ExperimentalThis API is under active development and may change.
POST /api/0/organizations/{organization_id_or_slug}/artifactbundle/assemble/

Assemble previously uploaded chunks into an artifact bundle, such as source maps, and store its debug IDs.

The response reports the bundle's state. If chunks are missing, upload them and send the request again. Repeat the request to poll until the state is ok or error. Resending an identical request is safe: a bundle that is already assembling or assembled reports its state instead of starting a new job.

Path Parameters

organization_id_or_slug (string)
REQUIRED

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

Body Parameters

projects (array(string))
REQUIRED

The IDs or slugs of the projects the bundle belongs to.

checksum (string)
REQUIRED

The SHA-1 checksum of the whole bundle.

chunks (array(string))
REQUIRED

The SHA-1 checksums of the bundle's chunks, in order. Upload missing chunks with the chunk upload endpoint. Send an empty list to poll the bundle's state.

version (string)

The release to associate the bundle with.

dist (string)

The distribution to associate the bundle with. Requires version.

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}/artifactbundle/assemble/ \
 -H 'Authorization: Bearer <auth_token>' \
 -H 'Content-Type: application/json' \
 -d '{}'
RESPONSESCHEMA
Copied
.
Was this helpful?