Skip to main content

Download a pack version by file name

GET 

/v2/download/pack/:versionid/:type/:slug

Returns a short-lived signed download URL: a 302 redirect by default, or a JSON body {"url": "...", "expires_at": "..."} when the request sends Accept: application/json. Downloads a file for one pack version: the pack archive (download_url), its signature (signature_bin_url), or its Helm chart (helm_url). versionid is the pack version id (versions[].id in pack catalog responses); a version id is needed because the FIPS, non-FIPS, and per-architecture builds of a pack can share a version number. The download_url, signature_bin_url, and helm_url fields in pack catalog responses already point here. Requires a token. Gated and private packs also require your organization to be entitled to one of the pack's entitledClasses. The trailing slug is the file name shown in the browser and on error pages; it does not change which file is returned. Errors are returned as the v2 JSON error envelope when the request accepts application/json or application/problem+json, otherwise as an HTML page.

Request​

Responses​

Signed download URL; returned when the Accept header asks for application/json (browsers get a 302 instead)