Async Push Multiple Files to Multiple Cloud Phones
Push multiple files to multiple cloud phone devices asynchronously.
Interface Address:
text
/papi/file/asyncUploadContainersFilesRequest 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 hash |
| X-Timestamp | string | Yes | Millisecond Unix timestamp (13 digits) |
| X-Nonce | string | Yes | Random string, 10-32 lowercase alphanumeric characters |
Body Parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
| ctrIdList | array[string] | Yes | Cloud phone ID list |
| md5List | array[string] | Yes | File MD5 list |
| targetPath | string | No | Target path, defaults to Download directory, if specified it becomes /sdcard/XXX |
| installFlag | boolean | No | Whether to install after pushing, default false |
Request Example:
json
{
"ctrIdList": [
"c5c7b07331144070bb92661ba049637cd71fecda5b4c74a84b1952e0524eba3c"
],
"md5List": [
"892aaba56fad8c9c6de6d14c8faba767"
],
"targetPath": "",
"installFlag": false
}Response Parameters:
| Parameter | Type | Description |
|---|---|---|
| code | integer | Error code. See Error Codes |
| data | array[string] | Response data |
| msg | string | Error message |
Response Example:
json
{
"code": 0,
"data": [""],
"msg": ""
}