| OLD | NEW |
| 1 { | 1 { |
| 2 "auth": { | 2 "auth": { |
| 3 "oauth2": { | 3 "oauth2": { |
| 4 "scopes": { | 4 "scopes": { |
| 5 "https://mail.google.com/": { | 5 "https://mail.google.com/": { |
| 6 "description": "View and manage your mail" | 6 "description": "View and manage your mail" |
| 7 }, | 7 }, |
| 8 "https://www.googleapis.com/auth/gmail.compose": { | 8 "https://www.googleapis.com/auth/gmail.compose": { |
| 9 "description": "Manage drafts and send emails" | 9 "description": "Manage drafts and send emails" |
| 10 }, | 10 }, |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 }, | 22 }, |
| 23 "https://www.googleapis.com/auth/gmail.send": { | 23 "https://www.googleapis.com/auth/gmail.send": { |
| 24 "description": "Send email on your behalf" | 24 "description": "Send email on your behalf" |
| 25 } | 25 } |
| 26 } | 26 } |
| 27 } | 27 } |
| 28 }, | 28 }, |
| 29 "basePath": "/gmail/v1/users/", | 29 "basePath": "/gmail/v1/users/", |
| 30 "baseUrl": "https://www.googleapis.com/gmail/v1/users/", | 30 "baseUrl": "https://www.googleapis.com/gmail/v1/users/", |
| 31 "batchPath": "batch", | 31 "batchPath": "batch", |
| 32 "description": "The Gmail REST API.", | 32 "description": "Access Gmail mailboxes including sending user email.", |
| 33 "discoveryVersion": "v1", | 33 "discoveryVersion": "v1", |
| 34 "documentationLink": "https://developers.google.com/gmail/api/", | 34 "documentationLink": "https://developers.google.com/gmail/api/", |
| 35 "etag": "\"bRFOOrZKfO9LweMbPqu0kcu6De8/1eGVJtSLrCxEfcwj3vC77SuvvyE\"", | 35 "etag": "\"bRFOOrZKfO9LweMbPqu0kcu6De8/3Io2oI-2iITlzBY_35iTEBYwT0E\"", |
| 36 "icons": { | 36 "icons": { |
| 37 "x16": "https://www.google.com/images/icons/product/googlemail-16.png", | 37 "x16": "https://www.google.com/images/icons/product/googlemail-16.png", |
| 38 "x32": "https://www.google.com/images/icons/product/googlemail-32.png" | 38 "x32": "https://www.google.com/images/icons/product/googlemail-32.png" |
| 39 }, | 39 }, |
| 40 "id": "gmail:v1", | 40 "id": "gmail:v1", |
| 41 "kind": "discovery#restDescription", | 41 "kind": "discovery#restDescription", |
| 42 "name": "gmail", | 42 "name": "gmail", |
| 43 "ownerDomain": "google.com", | 43 "ownerDomain": "google.com", |
| 44 "ownerName": "Google", | 44 "ownerName": "Google", |
| 45 "parameters": { | 45 "parameters": { |
| (...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 303 ] | 303 ] |
| 304 }, | 304 }, |
| 305 "list": { | 305 "list": { |
| 306 "description": "Lists the drafts in the user's mailb
ox.", | 306 "description": "Lists the drafts in the user's mailb
ox.", |
| 307 "httpMethod": "GET", | 307 "httpMethod": "GET", |
| 308 "id": "gmail.users.drafts.list", | 308 "id": "gmail.users.drafts.list", |
| 309 "parameterOrder": [ | 309 "parameterOrder": [ |
| 310 "userId" | 310 "userId" |
| 311 ], | 311 ], |
| 312 "parameters": { | 312 "parameters": { |
| 313 "includeSpamTrash": { |
| 314 "default": "false", |
| 315 "description": "Include drafts from SPAM and
TRASH in the results.", |
| 316 "location": "query", |
| 317 "type": "boolean" |
| 318 }, |
| 313 "maxResults": { | 319 "maxResults": { |
| 314 "default": "100", | 320 "default": "100", |
| 315 "description": "Maximum number of drafts to
return.", | 321 "description": "Maximum number of drafts to
return.", |
| 316 "format": "uint32", | 322 "format": "uint32", |
| 317 "location": "query", | 323 "location": "query", |
| 318 "type": "integer" | 324 "type": "integer" |
| 319 }, | 325 }, |
| 320 "pageToken": { | 326 "pageToken": { |
| 321 "description": "Page token to retrieve a spe
cific page of results in the list.", | 327 "description": "Page token to retrieve a spe
cific page of results in the list.", |
| 322 "location": "query", | 328 "location": "query", |
| (...skipping 363 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 686 "scopes": [ | 692 "scopes": [ |
| 687 "https://mail.google.com/", | 693 "https://mail.google.com/", |
| 688 "https://www.googleapis.com/auth/gmail.labels", | 694 "https://www.googleapis.com/auth/gmail.labels", |
| 689 "https://www.googleapis.com/auth/gmail.modify" | 695 "https://www.googleapis.com/auth/gmail.modify" |
| 690 ] | 696 ] |
| 691 } | 697 } |
| 692 } | 698 } |
| 693 }, | 699 }, |
| 694 "messages": { | 700 "messages": { |
| 695 "methods": { | 701 "methods": { |
| 702 "batchDelete": { |
| 703 "description": "Deletes many messages by message ID.
Provides no guarantees that messages were not already deleted or even existed a
t all.", |
| 704 "httpMethod": "POST", |
| 705 "id": "gmail.users.messages.batchDelete", |
| 706 "parameterOrder": [ |
| 707 "userId" |
| 708 ], |
| 709 "parameters": { |
| 710 "userId": { |
| 711 "default": "me", |
| 712 "description": "The user's email address. Th
e special value me can be used to indicate the authenticated user.", |
| 713 "location": "path", |
| 714 "required": true, |
| 715 "type": "string" |
| 716 } |
| 717 }, |
| 718 "path": "{userId}/messages/batchDelete", |
| 719 "request": { |
| 720 "$ref": "BatchDeleteMessagesRequest" |
| 721 }, |
| 722 "scopes": [ |
| 723 "https://mail.google.com/" |
| 724 ] |
| 725 }, |
| 696 "delete": { | 726 "delete": { |
| 697 "description": "Immediately and permanently deletes
the specified message. This operation cannot be undone. Prefer messages.trash in
stead.", | 727 "description": "Immediately and permanently deletes
the specified message. This operation cannot be undone. Prefer messages.trash in
stead.", |
| 698 "httpMethod": "DELETE", | 728 "httpMethod": "DELETE", |
| 699 "id": "gmail.users.messages.delete", | 729 "id": "gmail.users.messages.delete", |
| 700 "parameterOrder": [ | 730 "parameterOrder": [ |
| 701 "userId", | 731 "userId", |
| 702 "id" | 732 "id" |
| 703 ], | 733 ], |
| 704 "parameters": { | 734 "parameters": { |
| 705 "id": { | 735 "id": { |
| (...skipping 702 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1408 "scopes": [ | 1438 "scopes": [ |
| 1409 "https://mail.google.com/", | 1439 "https://mail.google.com/", |
| 1410 "https://www.googleapis.com/auth/gmail.modify" | 1440 "https://www.googleapis.com/auth/gmail.modify" |
| 1411 ] | 1441 ] |
| 1412 } | 1442 } |
| 1413 } | 1443 } |
| 1414 } | 1444 } |
| 1415 } | 1445 } |
| 1416 } | 1446 } |
| 1417 }, | 1447 }, |
| 1418 "revision": "20151214", | 1448 "revision": "20160301", |
| 1419 "rootUrl": "https://www.googleapis.com/", | 1449 "rootUrl": "https://www.googleapis.com/", |
| 1420 "schemas": { | 1450 "schemas": { |
| 1451 "BatchDeleteMessagesRequest": { |
| 1452 "id": "BatchDeleteMessagesRequest", |
| 1453 "properties": { |
| 1454 "ids": { |
| 1455 "description": "The IDs of the messages to delete.", |
| 1456 "items": { |
| 1457 "type": "string" |
| 1458 }, |
| 1459 "type": "array" |
| 1460 } |
| 1461 }, |
| 1462 "type": "object" |
| 1463 }, |
| 1421 "Draft": { | 1464 "Draft": { |
| 1422 "description": "A draft email in the user's mailbox.", | 1465 "description": "A draft email in the user's mailbox.", |
| 1423 "id": "Draft", | 1466 "id": "Draft", |
| 1424 "properties": { | 1467 "properties": { |
| 1425 "id": { | 1468 "id": { |
| 1426 "annotations": { | 1469 "annotations": { |
| 1427 "required": [ | 1470 "required": [ |
| 1428 "gmail.users.drafts.send" | 1471 "gmail.users.drafts.send" |
| 1429 ] | 1472 ] |
| 1430 }, | 1473 }, |
| (...skipping 569 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2000 "type": "string" | 2043 "type": "string" |
| 2001 } | 2044 } |
| 2002 }, | 2045 }, |
| 2003 "type": "object" | 2046 "type": "object" |
| 2004 } | 2047 } |
| 2005 }, | 2048 }, |
| 2006 "servicePath": "gmail/v1/users/", | 2049 "servicePath": "gmail/v1/users/", |
| 2007 "title": "Gmail API", | 2050 "title": "Gmail API", |
| 2008 "version": "v1" | 2051 "version": "v1" |
| 2009 } | 2052 } |
| OLD | NEW |