Generate download links for assets
Generates signed download URLs for the original files of assets in a public file system. No authentication required. Every requested asset must exist within the release's file-system path, otherwise the whole request is rejected with 400 `assetNotFound`. One result object is returned per requested asset; an individual entry may carry `status: fail` (with an `error` code) when its original file could not be signed.
Generates signed download URLs for the original files of assets in a public file system. No authentication required. Every requested asset must exist within the release's file-system path, otherwise the whole request is rejected with 400 assetNotFound. One result object is returned per requested asset; an individual entry may carry status: fail (with an error code) when its original file could not be signed.
Path Parameters
The 10-character access token for the public file system.
^[a-zA-Z0-9]{10}$10 <= length <= 10Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/public/abc123xyz0/download" \ -H "Content-Type: application/json" \ -d '{ "assetIds": [ "96fa1cd8-4f1c-475e-ac07-c52694e711b7" ] }'[ { "fileName": "file1.png", "ownerAssetId": "65af4c7b22ac19c0b1648241", "key": "/workspaces/ws-65af4c7b22ac19c0b1648226/projects/pr...", "url": "https://s3.eu-west-1.amazonaws.com/files-test.nurama.io...", "mimeType": "image/png", "expires": 1705988395, "status": "success" }]