Generate signed download URL for a file version
GET
vaults/{vaultId}/file-versions/{id}/signedurl
A time-limited, cryptographically signed URL providing secure access to download a file resource. Endpoint allows generation of signed download url for given file version Id.
Resource Information
Method and URI | GET /AutodeskDM/Services/api/vault/v2/vaults/{vaultId}/file-versions/{id}/signedurl |
Authentication Context | user context required |
Required OAuth Scopes | No scopes required |
Data Format | JSON |
Request
Headers
Authorization* string | Must be Bearer <token> , where <token> is obtained via a three-legged OAuth flow. |
* Required
Request
URI Parameters
vaultId string | The unique identifier of a vault. |
id string | The unique identifier of a file version. |
Request
Query String Parameters
wmSrcItemVerId string | When current file is a dwf associated to an Item, to download its watermarked version, supply this Item Version’s id as the watermark source. |
wmSrcFileVerId string | When current file is a dwf associated to an Item, directly or as a CAD file’s visualization attachment, to download its watermarked version, supply this File Version’s id or its CAD File Version’s id as the watermark source. |
contentDisposition string | Specify the content disposition of the response header. Pass in ‘inline’ to allow the file to be displayed inside the web page; ‘attachment’ or null to save the file. Other values would be directly used as it is, but the behavior can’t be guaranteed. |
expirationTime int | Duration for the signed url to be valid in seconds. Max allowed time is 180 seconds. Ex: expirationTime=120 |
Response
HTTP Status Code Summary
200 OK | The request succeeded. The response contains the signed download URL. |
400 Bad Request | The server was unable to process the request. The syntax of the request is malformed or the request is missing a required header. Do not repeat the request without fixing the issue. The response body may indicate what is wrong with the request. |
401 Unauthorized | The supplied authorization header was not valid or the supplied token scope was not acceptable. Verify authentication and try again. |
403 Forbidden | The request was successfully validated but lacking the required permissions. Verify your credentials and permissions before you send this request again. |
404 Not Found | The requested resource was not found. |
Response
Body Structure (200)
id string | |
url string |