get https://{app}.{filespin}.{io}/api/v1/assetcollection//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 toy
, the response body contains the download URL.The download URL expires in 10 minutes and download must be started within 10 minutes of the download URL creation time.
- If
as_url
parameter is not set to, download will start immediately. Download will be a zip file withContent-Disposition
header set toattachment; filename="download.zip"
. - If there are no assets to be downloaded in a collection the API returns
400
Bad request
.