{ "opencollection": "1.0.0", "info": { "name": "Google Books About Revisions API", "version": "1.0.0" }, "items": [ { "info": { "name": "Revisions", "type": "folder" }, "items": [ { "info": { "name": "Google Get Files Fileid Revisions", "type": "http" }, "http": { "method": "GET", "url": "https://www.googleapis.com/books/v1/files/:fileId/revisions", "headers": [ { "name": "Authorization", "value": "" } ], "params": [ { "name": "fileId", "value": "", "type": "path", "description": "The ID of the file." }, { "name": "pageSize", "value": "", "type": "query", "description": "The maximum number of revisions to return per page." }, { "name": "pageToken", "value": "", "type": "query", "description": "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." }, { "name": "$.xgafv", "value": "", "type": "query", "description": "V1 error format." }, { "name": "access_token", "value": "", "type": "query", "description": "OAuth access token." }, { "name": "alt", "value": "", "type": "query", "description": "Data format for response." }, { "name": "callback", "value": "", "type": "query", "description": "JSONP" }, { "name": "fields", "value": "", "type": "query", "description": "Selector specifying which fields to include in a partial response." }, { "name": "key", "value": "", "type": "query", "description": "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." }, { "name": "oauth_token", "value": "", "type": "query", "description": "OAuth 2.0 token for the current user." }, { "name": "prettyPrint", "value": "", "type": "query", "description": "Returns response with indentations and line breaks." }, { "name": "quotaUser", "value": "", "type": "query", "description": "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." }, { "name": "upload_protocol", "value": "", "type": "query", "description": "Upload protocol for media (e.g. \"raw\", \"multipart\")." }, { "name": "uploadType", "value": "", "type": "query", "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\")." } ] }, "docs": "Lists a file's revisions." }, { "info": { "name": "Google Get Files Fileid Revisions Revisionid", "type": "http" }, "http": { "method": "GET", "url": "https://www.googleapis.com/books/v1/files/:fileId/revisions/:revisionId", "headers": [ { "name": "Authorization", "value": "" } ], "params": [ { "name": "fileId", "value": "", "type": "path", "description": "The ID of the file." }, { "name": "revisionId", "value": "", "type": "path", "description": "The ID of the revision." }, { "name": "acknowledgeAbuse", "value": "", "type": "query", "description": "Whether the user is acknowledging the risk of downloading known malware or other abusive files. This is only applicable when alt=media." }, { "name": "$.xgafv", "value": "", "type": "query", "description": "V1 error format." }, { "name": "access_token", "value": "", "type": "query", "description": "OAuth access token." }, { "name": "alt", "value": "", "type": "query", "description": "Data format for response." }, { "name": "callback", "value": "", "type": "query", "description": "JSONP" }, { "name": "fields", "value": "", "type": "query", "description": "Selector specifying which fields to include in a partial response." }, { "name": "key", "value": "", "type": "query", "description": "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." }, { "name": "oauth_token", "value": "", "type": "query", "description": "OAuth 2.0 token for the current user." }, { "name": "prettyPrint", "value": "", "type": "query", "description": "Returns response with indentations and line breaks." }, { "name": "quotaUser", "value": "", "type": "query", "description": "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." }, { "name": "upload_protocol", "value": "", "type": "query", "description": "Upload protocol for media (e.g. \"raw\", \"multipart\")." }, { "name": "uploadType", "value": "", "type": "query", "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\")." } ] }, "docs": "Gets a revision's metadata or content by ID." }, { "info": { "name": "Google Patch Files Fileid Revisions Revisionid", "type": "http" }, "http": { "method": "PATCH", "url": "https://www.googleapis.com/books/v1/files/:fileId/revisions/:revisionId", "headers": [ { "name": "Authorization", "value": "" } ], "params": [ { "name": "fileId", "value": "", "type": "path", "description": "The ID of the file." }, { "name": "revisionId", "value": "", "type": "path", "description": "The ID of the revision." }, { "name": "$.xgafv", "value": "", "type": "query", "description": "V1 error format." }, { "name": "access_token", "value": "", "type": "query", "description": "OAuth access token." }, { "name": "alt", "value": "", "type": "query", "description": "Data format for response." }, { "name": "callback", "value": "", "type": "query", "description": "JSONP" }, { "name": "fields", "value": "", "type": "query", "description": "Selector specifying which fields to include in a partial response." }, { "name": "key", "value": "", "type": "query", "description": "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." }, { "name": "oauth_token", "value": "", "type": "query", "description": "OAuth 2.0 token for the current user." }, { "name": "prettyPrint", "value": "", "type": "query", "description": "Returns response with indentations and line breaks." }, { "name": "quotaUser", "value": "", "type": "query", "description": "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." }, { "name": "upload_protocol", "value": "", "type": "query", "description": "Upload protocol for media (e.g. \"raw\", \"multipart\")." }, { "name": "uploadType", "value": "", "type": "query", "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\")." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Updates a revision with patch semantics." }, { "info": { "name": "Google Delete Files Fileid Revisions Revisionid", "type": "http" }, "http": { "method": "DELETE", "url": "https://www.googleapis.com/books/v1/files/:fileId/revisions/:revisionId", "headers": [ { "name": "Authorization", "value": "" } ], "params": [ { "name": "fileId", "value": "", "type": "path", "description": "The ID of the file." }, { "name": "revisionId", "value": "", "type": "path", "description": "The ID of the revision." }, { "name": "$.xgafv", "value": "", "type": "query", "description": "V1 error format." }, { "name": "access_token", "value": "", "type": "query", "description": "OAuth access token." }, { "name": "alt", "value": "", "type": "query", "description": "Data format for response." }, { "name": "callback", "value": "", "type": "query", "description": "JSONP" }, { "name": "fields", "value": "", "type": "query", "description": "Selector specifying which fields to include in a partial response." }, { "name": "key", "value": "", "type": "query", "description": "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." }, { "name": "oauth_token", "value": "", "type": "query", "description": "OAuth 2.0 token for the current user." }, { "name": "prettyPrint", "value": "", "type": "query", "description": "Returns response with indentations and line breaks." }, { "name": "quotaUser", "value": "", "type": "query", "description": "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." }, { "name": "upload_protocol", "value": "", "type": "query", "description": "Upload protocol for media (e.g. \"raw\", \"multipart\")." }, { "name": "uploadType", "value": "", "type": "query", "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\")." } ] }, "docs": "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." } ] } ], "bundled": true }