Generate a download URL for a storage file
Required scope: storage.read
This method requires authentication
Generate a temporary download URL for a specific file in the user's video storage.
curl -X POST -H "Authorization: Bearer [access token]" \ https://api.restream.io/v2/user/storage/files/{fileId}/download-url
Path Parameters:
fileId
{ "downloadUrl": "https://example.com/storage-file-download" }
{ "error": { "statusCode": 401, "status": 401, "code": 401, "message": "Invalid token: access token is invalid", "name": "invalid_token" } }
{ "error": { "statusCode": 404, "status": 404, "code": 404, "message": "StorageFileNotFound", "name": "storage_file_not_found" } }