Update Cloud Phone Config
Update cloud phone config. When customizing country, timezone, and language, none can be empty; when not customizing, all must be empty.
Interface Address:
text
/papi/container/operate/startGpsRequest Method:
text
POSTContent-Type:
text
application/jsonHeader Parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
| X-Access-Key | string | Yes | API access key ID, see API Rules |
| 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 + digits |
Body Parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
| ctrIdList | array[string] | Yes | List of container IDs |
| language | string | No | Device language (not empty when custom, empty otherwise) |
| alt | integer | No | Altitude |
| autoFlag | boolean | No | Whether latitude/longitude is auto-set by IP (default true) |
| country | string | No | Country code (not empty when custom, empty otherwise) |
| timezone | string | No | Timezone (not empty when custom, empty otherwise) |
| latitude | number | No | Latitude |
| longitude | number | No | Longitude |
| mcc | integer | No | Mobile country code |
| mnc | integer | No | Mobile network code |
Request Example:
json
{
"ctrIdList": [
"cf5eaa177d75de7f43a0d95c84832560b70118e462dc2eb8da529a936d8c3c6f"
],
"autoFlag": true
}Response Parameters:
| Parameter | Type | Description |
|---|---|---|
| code | integer | Error code. See Error Codes |
| data | array[ContainerApiResult] | Response data |
| ├─ success | boolean | Whether the operation succeeded |
| ├─ taskId | string | Task ID of the operation |
| ├─ data | object | Data |
| ├─ msg | string | Operation message |
| ├─ ctrId | string | Container CtrId |
| ├─ ctrAlias | string | Container alias |
| ├─ ctrSlot | integer | Cloud phone slot |
| msg | string | Error message |
Response Example:
json
{
"code": 0,
"data": [
{
"success": true,
"taskId": "",
"data": {},
"msg": "",
"ctrId": "cf5eaa177d75de7f43a0d95c84832560b70118e462dc2eb8da529a936d8c3c6f",
"ctrAlias": "",
"ctrSlot": 0
}
],
"msg": ""
}