GET https://www.googleapis.com/admin/reports/v1/usage/entityType/entityKey or all/dates/date
Represents the date the usage occurred. The timestamp is in the ISO 8601 format, yyyy-mm-dd. We recommend you use your account's time zone for this.
entityKey or all
Represents the key of the object to filter the data with.
Acceptable values are:
"all": Returns activity events for all users.
"entityKey": Represents an app-specific identifier for the entity. For details on how to obtain the entityKey for a particular entityType, see the Entities Usage parameters reference guides.
Represents the type of entity for the report.
Acceptable values are:
"gplus_communities": Returns a report on Google+ communities.
Optional query parameters
The unique ID of the customer to retrieve data for.
The filters query string is a comma-separated list of an application's event parameters where the parameter's value is manipulated by a relational operator. The filters query string includes the name of the application whose usage is returned in the report. The application values for the Entities usage report include accounts, docs, and gmail.
Filters are in the form [application name]:[parameter name][relational operator][parameter value],....
In this example, the <> 'not equal to' operator is URL-encoded in the request's query string (%3C%3E):
The relational operators include:
== - 'equal to'.
<> - 'not equal to'. It is URL-encoded (%3C%3E).
< - 'less than'. It is URL-encoded (%3C).
<= - 'less than or equal to'. It is URL-encoded (%3C=).
> - 'greater than'. It is URL-encoded (%3E).
>= - 'greater than or equal to'. It is URL-encoded (%3E=).
Filters can only be applied to numeric parameters.
Determines how many activity records are shown on each response page. For example, if the request sets maxResults=1 and the report has two activities, the report has two pages. The response's nextPageToken property has the token to the second page.
Acceptable values are 1 to 1000, inclusive.
Token to specify next page. A report with multiple pages has a nextPageToken property in the response. In your follow-on request getting the next page of the report, enter the nextPageToken value in the pageToken query string.
The parameters query string is a comma-separated list of event parameters that refine a report's results. The parameter is associated with a specific application. The application values for the Entities usage report are only gplus. A parameter query string is in the CSV form of [app_name1:param_name1], [app_name2:param_name2]....
This request requires authorization with the following scope: