getOrgDevicesStats
GET https://{{host}} /api/v1/orgs/:org_id/stats/devices
This API renders some high-level device stats, pagination is assumed and returned in response header (as the response is an array)
Request Filters
Name | Type | Description |
---|---|---|
site_id | string | site_id |
type | string | device tyoe: ap / switch / gateway / all |
mac | string | 5c5b350e0001 |
evpntopo_id | string | EVPN Topology ID |
evpn_unused | bool | if evpn_unused=true, find EVPN eligible switches which don’t belong to any EVPN Topology yet |
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
limit | number |
RESPONSES
status: OK
[{"mac":"5c5b35000010","model":"AP200","type":"ap","serial":"FXLH2015170017","last_seen":1470417522,"name":"conference room","status":"connected","version":"1.0.0","ip":"10.2.9.159","uptime":13500}]