Get configured or seen stats

Description

This query get exactly the number of devices which has been configured or seen online for a domain. The query is probably removed in the future.

Request

GET /v1/domains/:domain/stats-configured-or-seen-online

Response

Successful response contains the following JSON formated body:

{
  devicesConfiguredOrSeenOnline: number
}

Response Status codes:

  • 200 on success

Request headers

This request must have the following headers:

  • Authorization: bearer <ApiKey>
  • X-Nabto-Organization: <organizationId>

Example

Request

curl "https://api.cloud.nabto.com/v1/domains/:domain/stats-configured-or-seen-online" \
  -H "Authorization: Bearer <ApiKey>" \
  -H "X-Nabto-Organization: <OrganizationId>"

Response

{
   devicesConfiguredOrSeenOnline: 42
}