Get file download link asynchronously
GET{baseUrl}/api/2.0/files/file/:fileId/presigned
Returns a link to download a file with the ID specified in the request asynchronously.
Request
Path Parameters
fileId int32required
File ID
Responses
- 200
- 401
File download link
- application/json
- Schema
- Example (auto)
Schema
filetypestringnullable
File type
Example:
some text
tokenstringnullable
Token
Example:
some text
urlurinullable
Url
Example:
some text
{
"filetype": "some text",
"token": "some text",
"url": "some text"
}
Unauthorized
Authorization: asc_auth_key
name: asc_auth_keytype: apiKeyscopes: read,write
in: cookie
- curl
- python
- javascript
- php
- csharp
- java
- CURL
curl -L '/api/2.0/files/file/:fileId/presigned' \
-H 'Accept: application/json'
ResponseClear