Downloads a file.
GET
https://drive.cloud.hicloud.com/drive/v1/files/{fileId}?form=content
*Some parameters are mandatory.
| Parameter Name | Type | Description | |
| fileId | string | path | File ID. (Mandatory) |
| form | string | query | Download method. (Mandatory) |
| quotaId | string | query | User identifier, consisting of 40 characters at maximum. It is used to restrict the number of API calls of an individual user. |
| x-hw-trace-id | string | header | ID used for service tracing. It is contained in the request header. |
| x-hw-app-id | string | header | App ID. It is contained in the request header. |
| version | string | header | SDK version number. It is contained in the request header. |
| x-hw-terminal | string | header | Device model. It is contained in the request header. |
| x-hw-os | string | header | Device operating system. It is contained in the request header. |
| unionID | string | header | Open user ID. It is contained in the request header. |
| User-Agent | string | header | App version number or ID. It is contained in the request header. |
Leave the request body empty.
| Parameter Name | Type | Description |
If successful, this method returns a response body with the following structure:
| Parameter Name | Type | Description |
| MediaContent | string | File content. |