Get a short-lived presigned URL to download/serve an asset
Path Parameters
id*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/api/assets/string/download-url" \ -H "Content-Type: application/json" \ -d '{}'{ "url": "string", "asset": { "id": "string", "key": "string", "kind": "video", "filename": "string", "contentType": "string", "size": -9007199254740991, "status": "pending", "uploadedBy": "string", "createdAt": "string" }}{ "error": "string", "message": "string"}{ "error": "string", "message": "string"}{ "error": "string", "message": "string"}