drive.revisions.get
Fetches a specific Google Drive file revision's metadata or content by file ID and revision ID, enabling version inspection or download.
Instructions
Gets a revision's metadata or content by ID. For more information, see Manage file revisions [HTTP GET]. Returns the requested resource as JSON — request bodies are built from the typed parameters (typed flags win over the params map), or read whole from body_file Siblings over the same resource: delete, list, update.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Extra KEY=VALUE query pairs for endpoints whose parameters Discovery does not describe. | |
| fileId | Yes | [URL path segment] The ID of the file. | |
| params | No | Parameter map merged into the request; typed parameters win. | |
| dry_run | No | Return the request that would be sent, without sending it. | |
| body_file | No | Read the request body from this file ('-' for stdin) instead of building one from the parameters. | |
| revisionId | Yes | [URL path segment] The ID of the revision. | |
| acknowledgeAbuse | No | [query parameter] Whether the user is acknowledging the risk of downloading known malware or other abusive files. This is only applicable when the `alt` parameter is set to `medi | false |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| kind | No | ||
| size | No | ||
| mimeType | No | ||
| published | No | ||
| exportLinks | No | ||
| keepForever | No | ||
| md5Checksum | No | ||
| publishAuto | No | ||
| modifiedTime | No | ||
| publishedLink | No | ||
| originalFilename | No | ||
| lastModifyingUser | No | ||
| publishedOutsideDomain | No |