{ "opencollection": "1.0.0", "info": { "name": "Google Books About Drives API", "version": "1.0.0" }, "items": [ { "info": { "name": "Drives", "type": "folder" }, "items": [ { "info": { "name": "Google Get Drives", "type": "http" }, "http": { "method": "GET", "url": "https://www.googleapis.com/books/v1/drives", "headers": [ { "name": "Authorization", "value": "" } ], "params": [ { "name": "pageSize", "value": "", "type": "query", "description": "Maximum number of shared drives to return per page." }, { "name": "pageToken", "value": "", "type": "query", "description": "Page token for shared drives." }, { "name": "q", "value": "", "type": "query", "description": "Query string for searching shared drives." }, { "name": "useDomainAdminAccess", "value": "", "type": "query", "description": "Issue the request as a domain administrator; if set to true, then all shared drives of the domain in which the requester is an administrator are returned." }, { "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 the user's shared drives. This method accepts the `q` parameter, which is a search query combining one or more search terms. For more information, see the [Search for shared drives](/drive/api/guides/search-shareddrives) guide." }, { "info": { "name": "Google Post Drives", "type": "http" }, "http": { "method": "POST", "url": "https://www.googleapis.com/books/v1/drives", "headers": [ { "name": "Authorization", "value": "" } ], "params": [ { "name": "requestId", "value": "", "type": "query", "description": "Required. An ID, such as a random UUID, which uniquely identifies this user's request for idempotent creation of a shared drive. A repeated request by the same user and with the same request ID will avoid creating duplicates by attempting to create the same shared drive. If the shared drive already exists a 409 error will be returned." }, { "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": "Creates a shared drive." }, { "info": { "name": "Google Get Drives Driveid", "type": "http" }, "http": { "method": "GET", "url": "https://www.googleapis.com/books/v1/drives/:driveId", "headers": [ { "name": "Authorization", "value": "" } ], "params": [ { "name": "driveId", "value": "", "type": "path", "description": "The ID of the shared drive." }, { "name": "useDomainAdminAccess", "value": "", "type": "query", "description": "Issue the request as a domain administrator; if set to true, then the requester will be granted access if they are an administrator of the domain to which the shared drive belongs." }, { "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 shared drive's metadata by ID." }, { "info": { "name": "Google Patch Drives Driveid", "type": "http" }, "http": { "method": "PATCH", "url": "https://www.googleapis.com/books/v1/drives/:driveId", "headers": [ { "name": "Authorization", "value": "" } ], "params": [ { "name": "driveId", "value": "", "type": "path", "description": "The ID of the shared drive." }, { "name": "useDomainAdminAccess", "value": "", "type": "query", "description": "Issue the request as a domain administrator; if set to true, then the requester will be granted access if they are an administrator of the domain to which the shared drive belongs." }, { "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 the metadate for a shared drive." }, { "info": { "name": "Google Delete Drives Driveid", "type": "http" }, "http": { "method": "DELETE", "url": "https://www.googleapis.com/books/v1/drives/:driveId", "headers": [ { "name": "Authorization", "value": "" } ], "params": [ { "name": "driveId", "value": "", "type": "path", "description": "The ID of the shared drive." }, { "name": "allowItemDeletion", "value": "", "type": "query", "description": "Whether any items inside the shared drive should also be deleted. This option is only supported when `useDomainAdminAccess` is also set to `true`." }, { "name": "useDomainAdminAccess", "value": "", "type": "query", "description": "Issue the request as a domain administrator; if set to true, then the requester will be granted access if they are an administrator of the domain to which the shared drive belongs." }, { "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 shared drive for which the user is an `organizer`. The shared drive cannot contain any untrashed items." }, { "info": { "name": "Google Post Drives Driveid Hide", "type": "http" }, "http": { "method": "POST", "url": "https://www.googleapis.com/books/v1/drives/:driveId/hide", "headers": [ { "name": "Authorization", "value": "" } ], "params": [ { "name": "driveId", "value": "", "type": "path", "description": "The ID of the shared drive." }, { "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": "Hides a shared drive from the default view." }, { "info": { "name": "Google Post Drives Driveid Unhide", "type": "http" }, "http": { "method": "POST", "url": "https://www.googleapis.com/books/v1/drives/:driveId/unhide", "headers": [ { "name": "Authorization", "value": "" } ], "params": [ { "name": "driveId", "value": "", "type": "path", "description": "The ID of the shared drive." }, { "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": "Restores a shared drive to the default view." } ] } ], "bundled": true }