cdp.connection.status.summary
The cdp.connection.status.summary command is used to get the number of connections in each status.
TR50 Request
{
"cmd" : {
"command": "cdp.connection.status.summary",
"params": {
"tags": ["tag1", "tag2"]
}
}
}
Request Parameters
Name | Type | Required | Description |
---|---|---|---|
tags | Array | An optional list of tags used to filter the results. |
TR50 Response
If the command is sent successfully a success message and a list of statuses and the number of connections is returned. Otherwise, an error and error message will be returned.
{
"cmd": {
"success": true,
"params": {
"values": [
{
"status": "test_ready",
"count": 84
},
{
"status": "deactivated",
"count": 366
},
{
"status": "activated",
"count": 219
},
{
"status": "activation_ready",
"count": 217
}
]
}
}
}
Response Parameters
Name | Type | Description |
---|---|---|
status | String | The status of the connections. |
count | Integer | The number of connection in this status. |