Skip to content

Batch Extend ADB Expiry ​

Batch extend cloud phone ADB expiry time.

Interface Address:

text
/papi/container/extendAdbExpire

Request Method:

text
POST

Content-Type:

text
application/json

Header Parameters:

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

Body Parameters:

ParameterTypeRequiredDescription
ctrIdListarray[string]YesContainer ctrId list
expireDaysintegerYesExtension time

Request Example:

json
{
  "ctrIdList": [
    "c5c7b07331144070bb92661ba049637cd71fecda5b4c74a84b1952e0524eba3c"
  ],
  "expireDays": 3
}

Response Parameters:

ParameterTypeDescription
codeintegerError code. See Error Codes
dataobjectResponse data
├─ successarray[object]Success list
├─├─ ctrIdstringCloud phone ctrId
├─├─ ctrAliasstringCloud phone alias
├─├─ ctrIpstringCloud phone IP
├─├─ ctrPortintegerCloud phone ADB port
├─├─ serviceUrlstringADB service URL
├─├─ servicePortintegerADB service port
├─├─ adbAccountstringADB account
├─├─ adbPasswordstringADB password
├─├─ expireintegerAccount expiry time (millisecond timestamp)
├─├─ remainExpirestringAccount remaining expiry time
├─├─ examplestringADB connection example
├─├─ openAdbbooleanADB enabled status
├─ failarray[object]Failure list
├─├─ ctrIdstringCloud phone ctrId
├─├─ msgstringFailure reason
msgstringError message

Response Example:

json
{
  "code": 0,
  "data": {
    "success": [
      {
        "ctrId": "",
        "ctrAlias": "",
        "ctrIp": "",
        "ctrPort": 0,
        "serviceUrl": "",
        "servicePort": 0,
        "adbAccount": "",
        "adbPassword": "",
        "expire": 0,
        "remainExpire": "",
        "example": "",
        "openAdb": true
      }
    ],
    "fail": [
      {
        "ctrId": "",
        "msg": ""
      }
    ]
  },
  "msg": ""
}

OpenAPI Docs