{ "opencollection": "1.0.0", "info": { "name": "Google Books About Labels API", "version": "1.0.0" }, "items": [ { "info": { "name": "Labels", "type": "folder" }, "items": [ { "info": { "name": "Google Retrieve Labels", "type": "http" }, "http": { "method": "GET", "url": "https://www.googleapis.com/books/v1/v2/labels", "headers": [ { "name": "Authorization", "value": "" } ], "params": [ { "name": "customer", "value": "", "type": "query", "description": "The customer to scope this list request to. For example: \"customers/abcd1234\". If unset, will return all labels within the current customer." }, { "name": "languageCode", "value": "", "type": "query", "description": "The BCP-47 language code to use for evaluating localized field labels. When not specified, values in the default configured language are used." }, { "name": "minimumRole", "value": "", "type": "query", "description": "Specifies the level of access the user must have on the returned Labels. The minimum role a user must have on a label. Defaults to `READER`." }, { "name": "pageSize", "value": "", "type": "query", "description": "Maximum number of labels to return per page. Default: 50. Max: 200." }, { "name": "pageToken", "value": "", "type": "query", "description": "The token of the page to return." }, { "name": "publishedOnly", "value": "", "type": "query", "description": "Whether to include only published labels in the results. * When `true`, only the current published label revisions are returned. Disabled labels are included. Returned label resource names reference the published revision (`labels/{id}/{revision_id}`). * When `false`, the current label revisions are returned, which might not be published. Returned label resource names don't reference a specific revision (`labels/{id}`)." }, { "name": "useAdminAccess", "value": "", "type": "query", "description": "Set to `true` in order to use the user's admin credentials. This will return all Labels within the customer." }, { "name": "view", "value": "", "type": "query", "description": "When specified, only certain fields belonging to the indicated view 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": "List labels." }, { "info": { "name": "Google Create Labels", "type": "http" }, "http": { "method": "POST", "url": "https://www.googleapis.com/books/v1/v2/labels", "headers": [ { "name": "Authorization", "value": "" } ], "params": [ { "name": "languageCode", "value": "", "type": "query", "description": "The BCP-47 language code to use for evaluating localized Field labels in response. When not specified, values in the default configured language will be used." }, { "name": "useAdminAccess", "value": "", "type": "query", "description": "Set to `true` in order to use the user's admin privileges. The server will verify the user is an admin before allowing access." }, { "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 new Label." }, { "info": { "name": "Google Delete Name", "type": "http" }, "http": { "method": "DELETE", "url": "https://www.googleapis.com/books/v1/v2/:name", "headers": [ { "name": "Authorization", "value": "" } ], "params": [ { "name": "name", "value": "", "type": "path", "description": "Required. Label Permission resource name." }, { "name": "useAdminAccess", "value": "", "type": "query", "description": "Set to `true` in order to use the user's admin credentials. The server will verify the user is an admin for the Label before allowing access." }, { "name": "writeControl.requiredRevisionId", "value": "", "type": "query", "description": "The revision_id of the label that the write request will be applied to. If this is not the latest revision of the label, the request will not be processed and will return a 400 Bad Request error." }, { "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": "Deletes a Label's permission. Permissions affect the Label resource as a whole, are not revisioned, and do not require publishing." }, { "info": { "name": "Google Create Name:delta", "type": "http" }, "http": { "method": "POST", "url": "https://www.googleapis.com/books/v1/v2/:name:delta", "headers": [ { "name": "Authorization", "value": "" } ], "params": [ { "name": "name", "value": "", "type": "path", "description": "Required. The resource name of the Label to update." }, { "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 single Label by applying a set of update requests resulting in a new draft revision. The batch update is all-or-nothing: If any of the update requests are invalid, no changes are applied. The resulting draft revision must be published before the changes may be used with Drive Items." }, { "info": { "name": "Google Create Name:disable", "type": "http" }, "http": { "method": "POST", "url": "https://www.googleapis.com/books/v1/v2/:name:disable", "headers": [ { "name": "Authorization", "value": "" } ], "params": [ { "name": "name", "value": "", "type": "path", "description": "Required. Label resource name." }, { "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": "Disable a published Label. Disabling a Label will result in a new disabled published revision based on the current published revision. If there is a draft revision, a new disabled draft revision will be created based on the latest draft revision. Older draft revisions will be deleted. Once disabled, a label may be deleted with `DeleteLabel`." }, { "info": { "name": "Google Create Name:enable", "type": "http" }, "http": { "method": "POST", "url": "https://www.googleapis.com/books/v1/v2/:name:enable", "headers": [ { "name": "Authorization", "value": "" } ], "params": [ { "name": "name", "value": "", "type": "path", "description": "Required. Label resource name." }, { "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": "Enable a disabled Label and restore it to its published state. This will result in a new published revision based on the current disabled published revision. If there is an existing disabled draft revision, a new revision will be created based on that draft and will be enabled." }, { "info": { "name": "Google Create Name:publish", "type": "http" }, "http": { "method": "POST", "url": "https://www.googleapis.com/books/v1/v2/:name:publish", "headers": [ { "name": "Authorization", "value": "" } ], "params": [ { "name": "name", "value": "", "type": "path", "description": "Required. Label resource name." }, { "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": "Publish all draft changes to the Label. Once published, the Label may not return to its draft state. See `google.apps.drive.labels.v2.Lifecycle` for more information. Publishing a Label will result in a new published revision. All previous draft revisions will be deleted. Previous published revisions will be kept but are subject to automated deletion as needed. Once published, some changes are no longer permitted. Generally, any change that would invalidate or cause new restrictions on existing " }, { "info": { "name": "Google Create Name:updatelabelcopymode", "type": "http" }, "http": { "method": "POST", "url": "https://www.googleapis.com/books/v1/v2/:name:updateLabelCopyMode", "headers": [ { "name": "Authorization", "value": "" } ], "params": [ { "name": "name", "value": "", "type": "path", "description": "Required. The resource name of the Label to update." }, { "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 Label's `CopyMode`. Changes to this policy are not revisioned, do not require publishing, and take effect immediately." }, { "info": { "name": "Google Retrieve Parent Locks", "type": "http" }, "http": { "method": "GET", "url": "https://www.googleapis.com/books/v1/v2/:parent/locks", "headers": [ { "name": "Authorization", "value": "" } ], "params": [ { "name": "parent", "value": "", "type": "path", "description": "Required. Label on which Locks are applied. Format: labels/{label}" }, { "name": "pageSize", "value": "", "type": "query", "description": "Maximum number of Locks to return per page. Default: 100. Max: 200." }, { "name": "pageToken", "value": "", "type": "query", "description": "The token of the page to return." }, { "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 LabelLocks on a Label." }, { "info": { "name": "Google Retrieve Parent Permissions", "type": "http" }, "http": { "method": "GET", "url": "https://www.googleapis.com/books/v1/v2/:parent/permissions", "headers": [ { "name": "Authorization", "value": "" } ], "params": [ { "name": "parent", "value": "", "type": "path", "description": "Required. The parent Label resource name on which Label Permission are listed. Format: labels/{label}" }, { "name": "pageSize", "value": "", "type": "query", "description": "Maximum number of permissions to return per page. Default: 50. Max: 200." }, { "name": "pageToken", "value": "", "type": "query", "description": "The token of the page to return." }, { "name": "useAdminAccess", "value": "", "type": "query", "description": "Set to `true` in order to use the user's admin credentials. The server will verify the user is an admin for the Label before allowing access." }, { "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 Label's permissions." }, { "info": { "name": "Google Create Parent Permissions", "type": "http" }, "http": { "method": "POST", "url": "https://www.googleapis.com/books/v1/v2/:parent/permissions", "headers": [ { "name": "Authorization", "value": "" } ], "params": [ { "name": "parent", "value": "", "type": "path", "description": "Required. The parent Label resource name on the Label Permission is created. Format: labels/{label}" }, { "name": "useAdminAccess", "value": "", "type": "query", "description": "Set to `true` in order to use the user's admin credentials. The server will verify the user is an admin for the Label before allowing access." }, { "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 Label's permissions. If a permission for the indicated principal doesn't exist, a new Label Permission is created, otherwise the existing permission is updated. Permissions affect the Label resource as a whole, are not revisioned, and do not require publishing." }, { "info": { "name": "Google Patch Parent Permissions", "type": "http" }, "http": { "method": "PATCH", "url": "https://www.googleapis.com/books/v1/v2/:parent/permissions", "headers": [ { "name": "Authorization", "value": "" } ], "params": [ { "name": "parent", "value": "", "type": "path", "description": "Required. The parent Label resource name." }, { "name": "useAdminAccess", "value": "", "type": "query", "description": "Set to `true` in order to use the user's admin credentials. The server will verify the user is an admin for the Label before allowing access." }, { "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 Label's permissions. If a permission for the indicated principal doesn't exist, a new Label Permission is created, otherwise the existing permission is updated. Permissions affect the Label resource as a whole, are not revisioned, and do not require publishing." }, { "info": { "name": "Google Create Parent Permissions:batchdelete", "type": "http" }, "http": { "method": "POST", "url": "https://www.googleapis.com/books/v1/v2/:parent/permissions:batchDelete", "headers": [ { "name": "Authorization", "value": "" } ], "params": [ { "name": "parent", "value": "", "type": "path", "description": "Required. The parent Label resource name shared by all permissions being deleted. Format: labels/{label} If this is set, the parent field in the UpdateLabelPermissionRequest messages must either be empty or match this field." }, { "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": "Deletes Label permissions. Permissions affect the Label resource as a whole, are not revisioned, and do not require publishing." }, { "info": { "name": "Google Create Parent Permissions:batchupdate", "type": "http" }, "http": { "method": "POST", "url": "https://www.googleapis.com/books/v1/v2/:parent/permissions:batchUpdate", "headers": [ { "name": "Authorization", "value": "" } ], "params": [ { "name": "parent", "value": "", "type": "path", "description": "Required. The parent Label resource name shared by all permissions being updated. Format: labels/{label} If this is set, the parent field in the UpdateLabelPermissionRequest messages must either be empty or match this field." }, { "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 Label permissions. If a permission for the indicated principal doesn't exist, a new Label Permission is created, otherwise the existing permission is updated. Permissions affect the Label resource as a whole, are not revisioned, and do not require publishing." }, { "info": { "name": "Google List Labels", "type": "http" }, "http": { "method": "GET", "url": "https://www.googleapis.com/books/v1/gmail/v1/users/:userId/labels", "headers": [ { "name": "Accept", "value": "application/json" } ], "params": [ { "name": "userId", "value": "incididunt labore i", "type": "path", "description": "(Required) " } ] }, "docs": "Lists all labels in the user's mailbox." }, { "info": { "name": "Google Create Labels", "type": "http" }, "http": { "method": "POST", "url": "https://www.googleapis.com/books/v1/gmail/v1/users/:userId/labels", "headers": [ { "name": "Content-Type", "value": "application/json" }, { "name": "Accept", "value": "application/json" } ], "params": [ { "name": "userId", "value": "incididunt labore i", "type": "path", "description": "(Required) " } ], "body": { "type": "json", "data": "{}" } }, "docs": "Creates a new label." }, { "info": { "name": "Google Get Labels", "type": "http" }, "http": { "method": "GET", "url": "https://www.googleapis.com/books/v1/gmail/v1/users/:userId/labels/:id", "headers": [ { "name": "Accept", "value": "application/json" } ], "params": [ { "name": "userId", "value": "incididunt labore i", "type": "path", "description": "(Required) " }, { "name": "id", "value": "incididunt labore i", "type": "path", "description": "(Required) " } ] }, "docs": "Gets the specified label." }, { "info": { "name": "Google Update Labels", "type": "http" }, "http": { "method": "PUT", "url": "https://www.googleapis.com/books/v1/gmail/v1/users/:userId/labels/:id", "headers": [ { "name": "Content-Type", "value": "application/json" }, { "name": "Accept", "value": "application/json" } ], "params": [ { "name": "userId", "value": "incididunt labore i", "type": "path", "description": "(Required) " }, { "name": "id", "value": "incididunt labore i", "type": "path", "description": "(Required) " } ], "body": { "type": "json", "data": "{}" } }, "docs": "Updates the specified label." }, { "info": { "name": "Google Patch Labels", "type": "http" }, "http": { "method": "PATCH", "url": "https://www.googleapis.com/books/v1/gmail/v1/users/:userId/labels/:id", "headers": [ { "name": "Content-Type", "value": "application/json" }, { "name": "Accept", "value": "application/json" } ], "params": [ { "name": "userId", "value": "incididunt labore i", "type": "path", "description": "(Required) " }, { "name": "id", "value": "incididunt labore i", "type": "path", "description": "(Required) " } ], "body": { "type": "json", "data": "{}" } }, "docs": "Patch the specified label." }, { "info": { "name": "Google Delete Labels", "type": "http" }, "http": { "method": "DELETE", "url": "https://www.googleapis.com/books/v1/gmail/v1/users/:userId/labels/:id", "params": [ { "name": "userId", "value": "incididunt labore i", "type": "path", "description": "(Required) " }, { "name": "id", "value": "incididunt labore i", "type": "path", "description": "(Required) " } ] }, "docs": "Immediately and permanently deletes the specified label and removes it from any messages and threads that it is applied to." } ] } ], "bundled": true }