- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Get a count of active devices per set time frames.
HTTP request
GET https://chromemanagement.googleapis.com/v1/{customer=customers/*}/reports:countActiveDevices
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
customer |
Required. Obfuscated customer ID prefixed with "customers/C" or "customers/my_customer". |
Query parameters
| Parameters | |
|---|---|
date |
Represents the date from which the active devices are counted, based on UTC. The timestamp is in the ISO 8601 format, |
Request body
The request body must be empty.
Response body
Response containing the number of active devices.
If successful, the response body contains data with the following structure:
| JSON representation |
|---|
{ "sevenDaysCount": string, "thirtyDaysCount": string } |
| Fields | |
|---|---|
sevenDaysCount |
Number of active devices in the 7 days leading up to the date specified in the request. |
thirtyDaysCount |
Number of active devices in the 30 days leading up to the date specified in the request. |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/chrome.management.reports.readonly