Assemble an Artifact Bundle
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)REQUIREDThe ID or slug of the organization the resource belongs to.
Body Parameters
projects(array(string))REQUIREDThe IDs or slugs of the projects the bundle belongs to.
checksum(string)REQUIREDThe SHA-1 checksum of the whole bundle.
chunks(array(string))REQUIREDThe 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:ciproject:adminproject:releasesproject:write
curl https://sentry.io/api/0/organizations/{organization_id_or_slug}/artifactbundle/assemble/ \ -H 'Authorization: Bearer <auth_token>' \ -H 'Content-Type: application/json' \ -d '{}'
Copied.