Drive Activity API
Provides a historical view of activity in Google Drive.
Service: driveactivity.googleapis.com
To call this service, we recommend that you use the Google-provided client libraries. If your application needs to use your own libraries to call this service, use the following information when you make the API requests.
Discovery document
A Discovery Document is a machine-readable specification for describing and consuming REST APIs. It is used to build client libraries, IDE plugins, and other tools that interact with Google APIs. One service may provide multiple discovery documents. This service provides the following discovery document:
Service endpoint
A service endpoint is a base URL that specifies the network address of an API service. One service might have multiple service endpoints. This service has the following service endpoint and all URIs below are relative to this service endpoint:
https://driveactivity.googleapis.com
Methods |
query |
POST /v2/activity:query
Query past activity in Google Drive. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-04 UTC.
[null,null,["Last updated 2024-09-04 UTC."],[[["The Drive Activity API provides a historical view of activity within Google Drive."],["Developers are encouraged to use Google-provided client libraries to interact with the API."],["The API can be accessed through REST endpoints, enabling programmatic retrieval of activity data."],["The primary function of the API is to query past activity using the `query` method."],["Detailed API specifications are available in the provided Discovery document."]]],["The Google Drive Activity API (v2) allows querying historical activity within Google Drive. The service, accessible via `driveactivity.googleapis.com`, uses a RESTful interface with a specified discovery document and service endpoint. Applications can interact using Google-provided client libraries or custom libraries. The core method is `activity.query`, enabling POST requests to `/v2/activity:query` for retrieving past Drive activity data.\n"]]