Method: customers.reports.countActiveDevices

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

string

Required. Obfuscated customer ID prefixed with "customers/C" or "customers/my_customer".

Query parameters

Parameters
date

object (Date)

Represents the date from which the active devices are counted, based on UTC. The timestamp is in the ISO 8601 format, yyyy-mm-dd.

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

string (int64 format)

Number of active devices in the 7 days leading up to the date specified in the request.

thirtyDaysCount

string (int64 format)

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