Skip to content

Integrations

Google: Drive revisions

5 Google SDK operations with complete input and response references.

Get started · Schemas

OperationTypeScriptPython
Permanently deletes a file version. You can only delete revisions for files with binary content in Google Drive, like images or videos. Revisions for other files, like Google Docs or Sheets, and the last remaining file version can’t be deleted. For more information, see [Manage file revisions](https://developers.google.com/drive/api/guides/manage-revisions).driveRevisions.driveRevisionsDeletedrive_revisions.drive_revisions_delete
Gets a revision’s metadata or content by ID. For more information, see [Manage file revisions](https://developers.google.com/workspace/drive/api/guides/manage-revisions).driveRevisions.driveRevisionsGetdrive_revisions.drive_revisions_get
Download file bytes with alt=media. Gets a revision’s metadata or content by ID. For more information, see [Manage file revisions](https://developers.google.com/workspace/drive/api/guides/manage-revisions).driveRevisions.driveRevisionsGetMediadrive_revisions.drive_revisions_get_media
Lists a file’s revisions. For more information, see [Manage file revisions](https://developers.google.com/workspace/drive/api/guides/manage-revisions). Important: The list of revisions returned by this method might be incomplete for files with a large revision history, including frequently edited Google Docs, Sheets, and Slides. Older revisions might be omitted from the response, meaning the first revision returned may not be the oldest existing revision. The revision history visible in the Workspace editor user interface might be more complete than the list returned by the API.driveRevisions.driveRevisionsListdrive_revisions.drive_revisions_list
Updates a revision with patch semantics. For more information, see [Manage file revisions](https://developers.google.com/workspace/drive/api/guides/manage-revisions).driveRevisions.driveRevisionsUpdatedrive_revisions.drive_revisions_update

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand how our website, product, and documentation are used.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

Advertising

Shares visits and sign-ups with Meta, Reddit, and X so we can measure which of our ads work.

You can change these choices at any time from Cookie settings.