Download Snapshot images as ZIP
GET /api/0/organizations/{organization_id_or_slug}/preprodartifacts/snapshots/{snapshot_id}/download/
Download all images in a snapshot as a ZIP archive.
The response is a streaming application/zip file. Images that share
the same content hash are deduplicated during fetch but written under
their original filenames in the archive.
This endpoint requires a bearer token with project:read access.
Path Parameters
organization_id_or_slug(string)REQUIREDThe ID or slug of the organization the resource belongs to.
snapshot_id(string)REQUIREDThe ID of the snapshot to download.
Scopes
You need to authenticate via bearer auth token.
<auth_token> requires one of the following scopes:org:ciproject:adminproject:readproject:releasesproject:write
Copied
curl https://sentry.io/api/0/organizations/{organization_id_or_slug}/preprodartifacts/snapshots/{snapshot_id}/download/ \ -H 'Authorization: Bearer <auth_token>'
RESPONSE
CopiedA ZIP archive containing all snapshot images.
Was this helpful?