Skip to main content

Download Collection

GET 

/api/v1/assetcollection/:collection_id/download

Download assets in a Collection as a zip file or retrieve a downloadable URL (URL will expire in 10 minutes).

Note

  • If as_url parameter is set to y, the response body contains the download URL. Example: /api/v1/assetcollection/1/download?as_url=y
  • If as_url parameter is not set, download will start immediately. Download will be a zip file with Content-Disposition header set to attachment; filename="download.zip".
  • If there are no assets to be downloaded in a collection the API returns 400 Bad request.
warning

When as_url=y, the download URL expires in 10 minutes — the download must be started within 10 minutes of the URL creation time.

Request

Responses

Successful operation