customers

GET /v1/customers/{customersId}/reports:countActiveDevices

Get a count of active devices per set time frames.

Request

  • Base URL
    https://chromemanagement.googleapis.com
  • URL
    https://chromemanagement.googleapis.com/v1/customers/{customersId}/reports:countActiveDevices
  • Auth
    OAuth 2 and OAuth 2
    Implicit: https://accounts.google.com/o/oauth2/auth
    Scopes: https://www.googleapis.com/auth/chrome.management.reports.readonly
    Authorization code: https://accounts.google.com/o/oauth2/auth
    Token URL: https://accounts.google.com/o/oauth2/token scopes: https://www.googleapis.com/auth/chrome.management.reports.readonly

Path parameters

customersIdstring required

Query parameters

date.dayinteger

Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.

date.monthinteger

Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.

date.yearinteger

Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.

Response

Successful response

sevenDaysCountstring int64

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

thirtyDaysCountstring int64

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

Changes

No recorded changes to this operation across all 8 revisions of this API.