Use the GET {{apiPath}}/environments/{{envID}}/integrations/{{integrationID}}/versions/{{integrationVersionID}}/asset
endpoint to download the integration asset specified by {{integrationID}} and {{integrationVersionID}}.
To complete the download, the endpoint will redirect to a time-limited presigned URL with response code “307 Temporary Redirect”.
Response headers will include:
Key | Value |
---|---|
Content-Type | application/zip or application/x-zip-compressed |
Content-Disposition | attachment;filename={version.name}-{version.number}.zip |
x-amz-meta-etag | sha256 hash you can use as integrity check |