{ "opencollection": "1.0.0", "info": { "name": "Google Books About Send API", "version": "1.0.0" }, "items": [ { "info": { "name": "Send", "type": "folder" }, "items": [ { "info": { "name": "Google Send Drafts", "type": "http" }, "http": { "method": "POST", "url": "https://www.googleapis.com/books/v1/gmail/v1/users/:userId/drafts/send", "headers": [ { "name": "Content-Type", "value": "application/json" }, { "name": "Accept", "value": "application/json" } ], "params": [ { "name": "userId", "value": "{{userID}}", "type": "path", "description": "(Required) " } ], "body": { "type": "json", "data": "{}" } }, "docs": "Sends the specified, existing draft to the recipients in the `To`, `Cc`, and `Bcc` headers." }, { "info": { "name": "Google Send Messages", "type": "http" }, "http": { "method": "POST", "url": "https://www.googleapis.com/books/v1/gmail/v1/users/:userId/messages/send", "headers": [ { "name": "Content-Type", "value": "application/json" }, { "name": "Accept", "value": "application/json" } ], "params": [ { "name": "userId", "value": "{{userId}}", "type": "path", "description": "(Required) " } ], "body": { "type": "json", "data": "{}" } }, "docs": "Sends the specified message to the recipients in the `To`, `Cc`, and `Bcc` headers. For example usage, see [Sending email](https://developers.google.com/gmail/api/guides/sending)." }, { "info": { "name": "Google Get Send As SMIME Info", "type": "http" }, "http": { "method": "GET", "url": "https://www.googleapis.com/books/v1/gmail/v1/users/:userId/settings/sendAs/:sendAsEmail/smimeInfo/:id", "headers": [ { "name": "Accept", "value": "application/json" } ], "params": [ { "name": "userId", "value": "incididunt labore i", "type": "path", "description": "(Required) " }, { "name": "sendAsEmail", "value": "incididunt labore i", "type": "path", "description": "(Required) " }, { "name": "id", "value": "incididunt labore i", "type": "path", "description": "(Required) " } ] }, "docs": "Gets the specified S/MIME config for the specified send-as alias." }, { "info": { "name": "Google Delete Send As SMIME INfo", "type": "http" }, "http": { "method": "DELETE", "url": "https://www.googleapis.com/books/v1/gmail/v1/users/:userId/settings/sendAs/:sendAsEmail/smimeInfo/:id", "params": [ { "name": "userId", "value": "incididunt labore i", "type": "path", "description": "(Required) " }, { "name": "sendAsEmail", "value": "incididunt labore i", "type": "path", "description": "(Required) " }, { "name": "id", "value": "incididunt labore i", "type": "path", "description": "(Required) " } ] }, "docs": "Deletes the specified S/MIME config for the specified send-as alias." }, { "info": { "name": "Google Verify Send As", "type": "http" }, "http": { "method": "POST", "url": "https://www.googleapis.com/books/v1/gmail/v1/users/:userId/settings/sendAs/:sendAsEmail/verify", "params": [ { "name": "userId", "value": "incididunt labore i", "type": "path", "description": "(Required) " }, { "name": "sendAsEmail", "value": "incididunt labore i", "type": "path", "description": "(Required) " } ] }, "docs": "Sends a verification email to the specified send-as alias address. The verification status must be `pending`. This method is only available to service account clients that have been delegated domain-wide authority." }, { "info": { "name": "Google Get Send As", "type": "http" }, "http": { "method": "GET", "url": "https://www.googleapis.com/books/v1/gmail/v1/users/:userId/settings/sendAs/:sendAsEmail", "headers": [ { "name": "Accept", "value": "application/json" } ], "params": [ { "name": "userId", "value": "incididunt labore i", "type": "path", "description": "(Required) " }, { "name": "sendAsEmail", "value": "incididunt labore i", "type": "path", "description": "(Required) " } ] }, "docs": "Gets the specified send-as alias. Fails with an HTTP 404 error if the specified address is not a member of the collection." }, { "info": { "name": "Google Update Send As Setting", "type": "http" }, "http": { "method": "PUT", "url": "https://www.googleapis.com/books/v1/gmail/v1/users/:userId/settings/sendAs/:sendAsEmail", "headers": [ { "name": "Content-Type", "value": "application/json" }, { "name": "Accept", "value": "application/json" } ], "params": [ { "name": "userId", "value": "incididunt labore i", "type": "path", "description": "(Required) " }, { "name": "sendAsEmail", "value": "incididunt labore i", "type": "path", "description": "(Required) " } ], "body": { "type": "json", "data": "{}" } }, "docs": "Updates a send-as alias. If a signature is provided, Gmail will sanitize the HTML before saving it with the alias. Addresses other than the primary address for the account can only be updated by service account clients that have been delegated domain-wide authority." }, { "info": { "name": "Google Patch Send As", "type": "http" }, "http": { "method": "PATCH", "url": "https://www.googleapis.com/books/v1/gmail/v1/users/:userId/settings/sendAs/:sendAsEmail", "headers": [ { "name": "Content-Type", "value": "application/json" }, { "name": "Accept", "value": "application/json" } ], "params": [ { "name": "userId", "value": "incididunt labore i", "type": "path", "description": "(Required) " }, { "name": "sendAsEmail", "value": "incididunt labore i", "type": "path", "description": "(Required) " } ], "body": { "type": "json", "data": "{}" } }, "docs": "Patch the specified send-as alias." }, { "info": { "name": "Google Delete Send As", "type": "http" }, "http": { "method": "DELETE", "url": "https://www.googleapis.com/books/v1/gmail/v1/users/:userId/settings/sendAs/:sendAsEmail", "params": [ { "name": "userId", "value": "incididunt labore i", "type": "path", "description": "(Required) " }, { "name": "sendAsEmail", "value": "incididunt labore i", "type": "path", "description": "(Required) " } ] }, "docs": "Deletes the specified send-as alias. Revokes any verification that may have been required for using it. This method is only available to service account clients that have been delegated domain-wide authority." }, { "info": { "name": "Google Get Send As", "type": "http" }, "http": { "method": "GET", "url": "https://www.googleapis.com/books/v1/gmail/v1/users/:userId/settings/sendAs", "headers": [ { "name": "Accept", "value": "application/json" } ], "params": [ { "name": "userId", "value": "incididunt labore i", "type": "path", "description": "(Required) " } ] }, "docs": "Lists the send-as aliases for the specified account. The result includes the primary send-as address associated with the account as well as any custom \"from\" aliases." }, { "info": { "name": "Google Create Send As", "type": "http" }, "http": { "method": "POST", "url": "https://www.googleapis.com/books/v1/gmail/v1/users/:userId/settings/sendAs", "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 custom \"from\" send-as alias. If an SMTP MSA is specified, Gmail will attempt to connect to the SMTP service to validate the configuration before creating the alias. If ownership verification is required for the alias, a message will be sent to the email address and the resource's verification status will be set to `pending`; otherwise, the resource will be created with verification status set to `accepted`. If a signature is provided, Gmail will sanitize the HTML before saving it with " } ] } ], "bundled": true }