Download a version's file
version_downloadGet a download link for a version's file, to work on it locally. Pass a version id (an upload's asset_id / version_id) or an asset id (its current version); a folder id is refused. A video gives its ORIGINAL uploaded file, exactly as uploaded: Flask keeps it for the team's download window, 14 days from upload on Free and Pro (longer on a custom Organizations plan); available_until says until when, after which it is gone for good and this says it expired (the video still plays in Flask). An image gives its stored file, kept for good. Download with curl -fsSL -o '<download_url>': the link needs no token and a video's works for one hour (call again for a fresh one). Without a shell (a chat app), give the user download_url to open. Needs view access to the asset. A link has no file; a live (code) version's source zip is one of its files, read with version_notes_get. Returns asset_id (the asset), version_id (the version downloaded), url, version_url, kind (video or image), filename, size (bytes, videos), download_url and available_until (null for images).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asset_id | Yes | Version id (from an upload or contents) or asset id (its current version) |