SitesStats
getSiteStats
Get Sites Stats
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
Format
uuidResponse Body
application/json
curl -X GET "https://example.com/api/v1/sites/000000ab-00ab-00ab-00ab-0000000000ab/stats"{ "address": "string", "alarmtemplate_id": "b069b358-4c97-5319-1f8c-7c5ca64d6ab1", "country_code": "string", "created_time": 0, "id": "55c29ce5-7c0f-45b5-b99b-599f805fa3a1", "lat": 0, "latlng": { "lat": 0, "lng": 0 }, "lng": 0, "modified_time": 0, "msp_id": "dca3cad3-0c9b-439b-814f-8d5f23797972", "name": "string", "networktemplate_id": "b069b358-4c97-5319-1f8c-7c5ca64d6ab1", "num_ap": 0, "num_ap_connected": 0, "num_clients": 0, "num_devices": 0, "num_devices_connected": 0, "num_gateway": 0, "num_gateway_connected": 0, "num_switch": 0, "num_switch_connected": 0, "org_id": "a40f5d1f-d889-42e9-94ea-b9b33585fc6b", "rftemplate_id": "b069b358-4c97-5319-1f8c-7c5ca64d6ab1", "sitegroup_ids": [ "6f4bf402-45f9-2a56-6c8b-7f83d3bc98e9" ], "timezone": "string", "tzoffset": 0}