mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-02-23 15:49:49 +01:00
chore(json-up): fetch latest json
api-list.yaml was updated manually to push out APIs which are just empty or plain incompatible with what we are doing
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
{
|
||||
"kind": "discovery#restDescription",
|
||||
"etag": "\"bRFOOrZKfO9LweMbPqu0kcu6De8/1eGVJtSLrCxEfcwj3vC77SuvvyE\"",
|
||||
"etag": "\"bRFOOrZKfO9LweMbPqu0kcu6De8/o-i_EQ3AewMJPACv-srQz117MuQ\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "gmail:v1",
|
||||
"name": "gmail",
|
||||
"version": "v1",
|
||||
"revision": "20151214",
|
||||
"revision": "20160216",
|
||||
"title": "Gmail API",
|
||||
"description": "The Gmail REST API.",
|
||||
"ownerDomain": "google.com",
|
||||
@@ -94,6 +94,19 @@
|
||||
}
|
||||
},
|
||||
"schemas": {
|
||||
"BatchDeleteMessagesRequest": {
|
||||
"id": "BatchDeleteMessagesRequest",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"ids": {
|
||||
"type": "array",
|
||||
"description": "The IDs of the messages to delete.",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"Draft": {
|
||||
"id": "Draft",
|
||||
"type": "object",
|
||||
@@ -899,6 +912,12 @@
|
||||
"httpMethod": "GET",
|
||||
"description": "Lists the drafts in the user's mailbox.",
|
||||
"parameters": {
|
||||
"includeSpamTrash": {
|
||||
"type": "boolean",
|
||||
"description": "Include drafts from SPAM and TRASH in the results.",
|
||||
"default": "false",
|
||||
"location": "query"
|
||||
},
|
||||
"maxResults": {
|
||||
"type": "integer",
|
||||
"description": "Maximum number of drafts to return.",
|
||||
@@ -1284,6 +1303,30 @@
|
||||
},
|
||||
"messages": {
|
||||
"methods": {
|
||||
"batchDelete": {
|
||||
"id": "gmail.users.messages.batchDelete",
|
||||
"path": "{userId}/messages/batchDelete",
|
||||
"httpMethod": "POST",
|
||||
"description": "Deletes many messages by message ID. Provides no guarantees that messages were not already deleted or even existed at all.",
|
||||
"parameters": {
|
||||
"userId": {
|
||||
"type": "string",
|
||||
"description": "The user's email address. The special value me can be used to indicate the authenticated user.",
|
||||
"default": "me",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
}
|
||||
},
|
||||
"parameterOrder": [
|
||||
"userId"
|
||||
],
|
||||
"request": {
|
||||
"$ref": "BatchDeleteMessagesRequest"
|
||||
},
|
||||
"scopes": [
|
||||
"https://mail.google.com/"
|
||||
]
|
||||
},
|
||||
"delete": {
|
||||
"id": "gmail.users.messages.delete",
|
||||
"path": "{userId}/messages/{id}",
|
||||
|
||||
Reference in New Issue
Block a user