Skip to content

Download Cloud Phone File to Local ​

Download cloud phone file to local.

Interface Address:

text
/papi/container/operate/fileDownLoad

Request Method:

text
POST

Content-Type:

text
application/json

Header Parameters:

ParameterTypeRequiredDescription
X-Access-KeystringYesAPI access key ID. See API Rules for authentication
X-SignaturestringYesSignature value, Base64-encoded HMAC-SHA256 result
X-TimestampstringYesMillisecond-level Unix timestamp (13 digits)
X-NoncestringYesRandom string, 10-32 lowercase letters and digits

Body Parameters:

ParameterTypeRequiredDescription
ctrIdstringYesContainer ID
filePathstringYesFile 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:

ParameterTypeDescription
codeintegerError code. See Error Codes
dataobjectResponse data
├─ successbooleanWhether the operation succeeded
├─ taskIdstringTask ID of the operation
├─ dataobjectData
├─├─ async_task_idstringAsync task
├─├─ resultstringResult
├─ msgstringExecution result
├─ ctrIdstringContainer ID
├─ ctrAliasstringContainer alias
├─ ctrSlotintegerContainer slot
msgstringError message

Response Example:

json
{
  "code": 0,
  "data": {
    "success": true,
    "taskId": "",
    "data": {
      "async_task_id": "",
      "result": ""
    },
    "msg": "",
    "ctrId": "",
    "ctrAlias": "",
    "ctrSlot": null
  },
  "msg": ""
}

OpenAPI Docs