Skip to content

Batch Install Batch Apps on Cloud Phones (Async) ​

Batch install batch apps on cloud phones (async), supports callback.

Interface Address:

text
/papi/container/operate/batch/async/installPkg

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
ctrIdListarray[string]YesList of container IDs
md5Listarray[string]YesList of MD5 values of files to install

Request Example:

json
{
  "ctrIdList": [
    "639affbc4ef9a37f05442b6617e669abd04c5d8e284723d49f8bcc961dfa50f1"
  ],
  "md5List": [
    "399a1363befa334ac491610f959e0f1b"
  ]
}

Response Parameters:

ParameterTypeDescription
codeintegerError code. See Error Codes
databooleanResponse data
msgstringError message

Response Example:

json
{
  "code": 0,
  "data": true,
  "msg": ""
}

OpenAPI Docs