Download
GET/api/v1/assets/:asset_id/content/original/download
Use this API to retrieve the original file or a pre-defined image conversion or a video transcode. HTTP Range header can also be used to retrieve large file as multiple parts.
This endpoint streams the file through FileSpin's API servers and is intentionally throttled during high traffic. For downloads in server code, especially at scale, call Get Link with key=original and download from the returned URL, which needs no API key. See Downloading Assets Programmatically.
HTTP RESPONSE
The file is returned. Mime type and length of the content returned will be set in the response header.
Download large file as multiple parts
You can use HTTP Range header parameter to download a large file as multiple parts. For details about the HTTP Range header, please visit http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.35
Request
Responses
- 200
- 401
- 403
- 500
Successful operation
Unauthorized - Invalid or missing authentication
Forbidden - Insufficient permissions
Internal server error