SitesStatsDevices

getSiteAllClientsStatsByDevice

GET
/api/v1/sites/{site_id}/stats/devices/{device_id}/clients

Get wireless client stat by Device

Authorization

Authorization<token>

Preferred authentication method for automation and integrations. Send the API token in the HTTP Authorization header.

Format: Authorization: Token {apitoken}

Notes:

  • An API token generated for a specific admin has the same privileges as that admin
  • An API token is automatically removed if it is not used for more than 90 days
  • SSO admins cannot generate admin API tokens. Use organization API tokens when scoped Org/Site privileges are needed.

In: header

Path Parameters

site_id*string
Formatuuid
device_id*string
Formatuuid

Response Body

application/json

curl -X GET "https://example.com/api/v1/sites/000000ab-00ab-00ab-00ab-0000000000ab/stats/devices/000000ab-00ab-00ab-00ab-0000000000ab/clients"
[  {    "accuracy": 0,    "airespace_ifname": "string",    "airwatch": {      "authorized": true    },    "annotation": "string",    "ap_id": "325b588d-147b-4fa4-bb40-83383f83c77e",    "ap_mac": "string",    "assoc_time": 0,    "band": "24",    "bssid": "string",    "channel": 0,    "dual_band": true,    "family": "string",    "group": "string",    "guest": {      "access_code_email": "string",      "ap_mac": "string",      "auth_method": "string",      "authorized": true,      "authorized_expiring_time": 1480704955,      "authorized_time": 1480704355,      "company": "abc",      "email": "john@abc.com",      "field1": "string",      "field2": "string",      "field3": "string",      "field4": "string",      "mac": "string",      "minutes": 1440,      "name": "John Smith",      "random_mac": true,      "ssid": "Guest-SSID",      "wlan_id": "6748cfa6-4e12-11e6-9188-0242ac110007"    },    "hostname": "string",    "idle_time": 0,    "ip": "string",    "is_guest": false,    "key_mgmt": "string",    "last_seen": 1470417522,    "mac": "string",    "manufacture": "string",    "map_id": "09d2b626-2e4e-45ef-a3c4-e6aeb6c83db1",    "model": "string",    "mxedge_id": "20b574ac-7215-4165-9c0a-2a1f26982a77",    "num_locating_aps": 0,    "os": "string",    "power_saving": true,    "proto": "a",    "psk_id": "4cb94c10-4e99-46b0-8261-4c71d0b2cb9d",    "rssi": 0,    "rssizones": [      {        "id": "53f10664-3ce8-4c27-b382-0ef66432349f",        "since": 0      }    ],    "rx_bps": 60003,    "rx_bytes": 8515104416,    "rx_pkts": 57770567,    "rx_rate": 0,    "rx_retries": 0,    "site_id": "441a1214-6928-442a-8e92-e1d34b8ec6a6",    "snr": 0,    "ssid": "string",    "tx_bps": 634301,    "tx_bytes": 211217389682,    "tx_pkts": 812204062,    "tx_rate": 0,    "tx_retries": 0,    "type": "string",    "uptime": 0,    "username": "string",    "vbeacons": [      {        "id": "53f10664-3ce8-4c27-b382-0ef66432349f",        "since": 0      }    ],    "vlan_id": "string",    "wlan_id": "5028e92b-fc59-4056-91d1-ea4b4ca1617a",    "wxrule_id": "722ef429-6c3a-422c-83d1-2c18f12bd5d4",    "wxrule_usage": [      {        "tag_id": "39c8a0b3-fbe8-4801-95bf-e8a0792edf1d",        "usage": 0      }    ],    "x": 0.1,    "x_m": 0.1,    "y": 0.1,    "y_m": 0.1,    "zones": [      {        "id": "53f10664-3ce8-4c27-b382-0ef66432349f",        "since": 0      }    ]  }]