drive.revisions.get
/files/{fileId}/revisions/{revisionId} Gets a revision's metadata or content by ID. For more information, see Manage file revisions.
Parameters
path Path Parameters
| Name | Type |
|---|---|
fileId
required
The ID of the file. | string |
revisionId
required
The ID of the revision. | string |
query Query Parameters
| Name | Type |
|---|---|
acknowledgeAbuse Whether the user is acknowledging the risk of downloading known malware or other abusive files. This is only applicable when the | boolean |
access_token OAuth access token. | string |
alt Data format for response. | "json" | "media" | "proto" |
callback JSONP | string |
fields Selector specifying which fields to include in a partial response. | string |
key API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. | string |
oauth_token OAuth 2.0 token for the current user. | string |
prettyPrint Returns response with indentations and line breaks. | boolean |
quotaUser Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. | string |
upload_protocol Upload protocol for media (e.g. "raw", "multipart"). | string |
uploadType Legacy upload protocol for media (e.g. "media", "multipart"). | string |
$.xgafv V1 error format. | "1" | "2" |
Responses
Successful response
exportLinks?: { };
id?: string;
keepForever?: boolean;
kind?: string;
lastModifyingUser?:
md5Checksum?: string;
mimeType?: string;
modifiedTime?: string;
originalFilename?: string;
publishAuto?: boolean;
published?: boolean;
publishedLink?: string;
publishedOutsideDomain?: boolean;
size?: string;
}