Download Cloud Phone File to Local
Download cloud phone file to local.
Interface Address:
text
/papi/container/operate/fileDownLoadRequest Method:
text
POSTContent-Type:
text
application/jsonHeader Parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
| X-Access-Key | string | Yes | API access key ID. See API Rules for authentication |
| X-Signature | string | Yes | Signature value, Base64-encoded HMAC-SHA256 result |
| X-Timestamp | string | Yes | Millisecond-level Unix timestamp (13 digits) |
| X-Nonce | string | Yes | Random string, 10-32 lowercase letters and digits |
Body Parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
| ctrId | string | Yes | Container ID |
| filePath | string | Yes | File path, view the path in cloud phone file resources |
Request Example:
json
{
"ctrId": "cf5eaa177d75de7f43a0d95c84832560b70118e462dc2eb8da529a936d8c3c6f",
"filePath": "/data/data/com.baidu.searchbox/app_webview_com.baidu.searchbox/Default/Cookies"
}Response Parameters:
| Parameter | Type | Description |
|---|---|---|
| code | integer | Error code. See Error Codes |
| data | object | Response data |
| ├─ success | boolean | Whether the operation succeeded |
| ├─ taskId | string | Task ID of the operation |
| ├─ data | object | Data |
| ├─├─ async_task_id | string | Async task |
| ├─├─ result | string | Result |
| ├─ msg | string | Execution result |
| ├─ ctrId | string | Container ID |
| ├─ ctrAlias | string | Container alias |
| ├─ ctrSlot | integer | Container slot |
| msg | string | Error message |
Response Example:
json
{
"code": 0,
"data": {
"success": true,
"taskId": "",
"data": {
"async_task_id": "",
"result": ""
},
"msg": "",
"ctrId": "",
"ctrAlias": "",
"ctrSlot": null
},
"msg": ""
}