Downloads a file.
Operation description
Try it now
Test
RAM authorization
Request syntax
GET /v2/file/download HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| domain_id |
string |
Yes |
||
| share_id |
string |
No |
The ID of the share. If you access a file by using a share link, you must authenticate with the |
7JQX1FswpQ8 |
| drive_id |
string |
No |
The ID of the drive. |
1 |
| file_id |
string |
Yes |
The ID of the file. |
9520943DC264 |
| image_thumbnail_process |
string |
No |
The image processing style. Specifying this parameter redirects the request to the URL of the processed thumbnail. |
image/resize,m_fill,h_128,w_128,limit_0 |
| video_thumbnail_process |
string |
No |
The video processing style. Specifying this parameter redirects the request to the URL of the processed thumbnail. |
video/snapshot,t_7000,f_jpg,w_800,h_600,m_fast |
| office_thumbnail_process |
string |
No |
The document processing style. Specifying this parameter redirects the request to the URL of the processed thumbnail. |
image/resize,m_lfit,w_256,limit_0/format,jpg|image/format,webp |
Response elements
|
Element |
Type |
Description |
Example |
None defined.
Examples
Success response
JSON format
{}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.