v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-136454227.5 KB
changes

Lists the changes for a user or shared drive. For more information, see Retrieve changes.

get/changes

Query parameters

pageTokenstring required

The token for continuing a previous list request on the next page. This should be set to the value of 'nextPageToken' from the previous response or to the response from the getStartPageToken method.

driveIdstring

The shared drive from which changes will be returned. If specified the change IDs will be reflective of the shared drive; use the combined drive ID and change ID as an identifier.

includeCorpusRemovalsboolean

Whether changes should include the file resource if the file is still accessible by the user at the time of the request, even when a file was removed from the list of changes and there will be no further change entries for this file.

includeItemsFromAllDrivesboolean

Whether both My Drive and shared drive items should be included in results.

includeLabelsstring

A comma-separated list of IDs of labels to include in the labelInfo part of the response.

includePermissionsForViewstring

Specifies which additional view's permissions to include in the response. Only 'published' is supported.

includeRemovedboolean

Whether to include changes indicating that items have been removed from the list of changes, for example by deletion or loss of access.

includeTeamDriveItemsboolean

Deprecated: Use includeItemsFromAllDrives instead.

pageSizeinteger

The maximum number of changes to return per page.

restrictToMyDriveboolean

Whether to restrict the results to changes inside the My Drive hierarchy. This omits changes to files such as those in the Application Data folder or shared files which have not been added to My Drive.

spacesstring

A comma-separated list of spaces to query within the corpora. Supported values are 'drive' and 'appDataFolder'.

supportsAllDrivesboolean

Whether the requesting application supports both My Drives and shared drives.

supportsTeamDrivesboolean

Deprecated: Use supportsAllDrives instead.

teamDriveIdstring

Deprecated: Use driveId instead.

Response

Successful response