nma.clients.get
- Title: get clients
- Description: gets list of clients connected to NMA
Edit
Edit
| Field | Type | Required | Description |
|---|---|---|---|
| clients | array | + | array of clients |
Edit
| Field | Type | Required | Description |
|---|---|---|---|
| id | string | + | web socket uuid |
| connectionType | string | + | connection type(unknown, controller, ui, cloud, portal) |
| timestamp | string | + | timestamp milliseconds since 1970 |
| serial | string | – | controller serial, if connectionType is controller |
| controllerUuid | string | – | controller uuid, if connectionType is controller |
| firmware | string | – | firmware version, if connectionType is controller |
| media | string | – | media type, if connectionType is controller |
| hubType | string | – | hub type, if connectionType is controller |
| macAddress | string | – | controller mac address, if connectionType is controller |
| pkAccount | string | – | PK_Account, if connectionType is ui |
Edit
Edit
{
"id": "Z4E40EE6F",
"method": "nma.clients.get",
"params": {}
}
Edit
{
"id": "Z4E40EE6F",
"method": "nma.clients.get",
"error": null,
"result": {
"clients": [
{
"id": "5f21aa20-8b7f-11e9-91cd-273af3fa6fc6",
"connectionType": "controller",
"timestamp": "32132158",
"serial": "70000000",
"controllerUuid": "63868ae0-8b7f-11e9-91cd-273af3fa6fc6",
"firmware": "0.8.1",
"media": "radio",
"hubType": "32.1",
"macAddress": "B4:E6:2D:C3:46:15"
}
]
}
}