View Cloud Phone Parameters
Retrieve detailed parameter information of a cloud phone (container).
Interface Address:
text
/papi/container/operate/getContainerInfoRequest 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 |
|---|---|---|---|
| ctrId | string | Yes | Container ID |
Request Example:
json
{
"ctrId": "cf5eaa177d75de7f43a0d95c84832560b70118e462dc2eb8da529a936d8c3c6f"
}Response Parameters:
| Parameter | Type | Description |
|---|---|---|
| code | integer | Error code. See Error Codes |
| data | object | Returned data |
| ├─ deviceVendor | string | Device vendor |
| ├─ deviceBrand | string | Device brand |
| ├─ deviceModel | string | Device model |
| ├─ timezone | string | System timezone |
| ├─ language | string | System language |
| ├─ androidVersion | string | Android version |
| ├─ ip | string | Public IP |
| ├─ region | string | Network region |
| ├─ state | string | State/Province |
| ├─ city | string | City |
| ├─ ipCountry | string | Country of the IP |
| ├─ ipState | string | State/Province of the IP |
| ├─ postcode | string | Postcode |
| ├─ wifiName | string | Name of the currently connected Wi-Fi |
| ├─ simStatus | string | SIM card status |
| ├─ simRegion | string | SIM card region |
| ├─ phoneNumber | string | Phone number |
| ├─ imsi | string | International Mobile Subscriber Identity (IMSI) |
| ├─ numeric | string | MCC+MNC combination |
| ├─ carrierName | string | Carrier name |
| ├─ iccid | string | SIM card unique identifier (ICCID) |
| ├─ networkType | string | Network type |
| ├─ mcc | string | Mobile Country Code |
| ├─ mnc | string | Mobile Network Code |
| ├─ lac | string | Location Area Code |
| ├─ cid | string | Cell ID |
| ├─ longitude | number | Longitude |
| ├─ latitude | number | Latitude |
| ├─ bluetoothName | string | Bluetooth device name |
| ├─ bluetoothMac | string | Bluetooth MAC address |
| ├─ ctrNameId | string | Container business ID |
| ├─ name | string | Container name |
| ├─ turnServerUri | string | TURN server URI |
| ├─ roomUrl | string | Machine room URL |
| ├─ ctrMacAdd | string | Cloud phone WLAN MAC address |
| ├─ cphoneImei | string | IMEI |
| ├─ blockioUsedByte | integer | Bytes used by container block device I/O |
| ├─ screenCastResolution | string | Screen cast resolution |
| msg | string | Error message |
Response Example:
json
{
"code": 0,
"data": {
"deviceVendor": "",
"deviceBrand": "",
"deviceModel": "",
"timezone": "",
"language": "",
"androidVersion": "",
"ip": "",
"region": "",
"state": "",
"city": "",
"ipCountry": "",
"ipState": "",
"postcode": "",
"wifiName": "",
"simStatus": "",
"simRegion": "",
"phoneNumber": "",
"imsi": "",
"numeric": "",
"carrierName": "",
"iccid": "",
"networkType": "",
"mcc": "0",
"mnc": "0",
"lac": "0",
"cid": "0",
"longitude": 0,
"latitude": 0,
"bluetoothName": "",
"bluetoothMac": "",
"ctrNameId": "",
"name": "",
"turnServerUri": "",
"roomUrl": "",
"ctrMacAdd": "",
"cphoneImei": "",
"blockioUsedByte": 0,
"screenCastResolution": ""
},
"msg": ""
}