Batch Get Cloud Phone Connection Config
Batch get cloud phone connection config.
Interface Address:
text
/papi/container/operate/batch/getConnectConfigRequest 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 result |
| X-Timestamp | string | Yes | Millisecond-level Unix timestamp (13 digits) |
| X-Nonce | string | Yes | Random string, 10-32 lowercase letters and digits |
Body Parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
| ctrAliaList | array[string] | Yes | Container alias list |
Request Example:
json
{
"ctrAliaList": [
"112d6sbdnkw",
"108d2s8pgpt"
]
}Response Parameters:
| Parameter | Type | Description |
|---|---|---|
| code | integer | Error code. See Error Codes |
| data | array[object] | Response data |
| ├─ alias | string | Alias |
| ├─ signalServerUrl | string | Signaling server URL |
| ├─ spareSignal | string | Spare signaling |
| ├─ roomId | string | Room ID |
| ├─ turnServerUri | string | TURN server URI |
| ├─ isControl | boolean | Whether to control |
| ├─ token | string | Authentication token |
| ├─ hostTurn | array[string] | Host relay |
| ├─ spareTurn | array[string] | Spare relay |
| ├─ expires | integer | Expiration time |
| msg | string | Error message |
Response Example:
json
{
"code": 0,
"data": [
{
"alias": "",
"signalServerUrl": "",
"spareSignal": "",
"roomId": "",
"turnServerUri": "",
"isControl": false,
"token": "",
"hostTurn": [
""
],
"spareTurn": [
""
],
"expires": 0
}
],
"msg": ""
}