Skip to main content

Download a Profiles Hub profile version by file name

GET 

/v2/download/profile/hub/: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 Profiles Hub profile version: the profile archive (download_url) or its signature (signature_bin_url). versionid is the profile version id (versions[].id from GET /v2/profiles/hub/catalog); a version id is needed because the FIPS and non-FIPS variants of a profile can share a version number. The download_url and signature_bin_url fields in Profiles Hub catalog responses already point here. Requires a token. Gated and private profiles also require your organization to be entitled to one of the profile'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)