| 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 }, |
| 11 "https://www.googleapis.com/auth/gmail.insert": { | 11 "https://www.googleapis.com/auth/gmail.insert": { |
| 12 "description": "Insert mail into your mailbox" | 12 "description": "Insert mail into your mailbox" |
| 13 }, | 13 }, |
| 14 "https://www.googleapis.com/auth/gmail.labels": { | 14 "https://www.googleapis.com/auth/gmail.labels": { |
| 15 "description": "Manage mailbox labels" | 15 "description": "Manage mailbox labels" |
| 16 }, | 16 }, |
| 17 "https://www.googleapis.com/auth/gmail.modify": { | 17 "https://www.googleapis.com/auth/gmail.modify": { |
| 18 "description": "View and modify but not delete your email" | 18 "description": "View and modify but not delete your email" |
| 19 }, | 19 }, |
| 20 "https://www.googleapis.com/auth/gmail.readonly": { | 20 "https://www.googleapis.com/auth/gmail.readonly": { |
| 21 "description": "View your emails messages and settings" | 21 "description": "View your emails messages and settings" |
| 22 }, |
| 23 "https://www.googleapis.com/auth/gmail.send": { |
| 24 "description": "Send email on your behalf" |
| 22 } | 25 } |
| 23 } | 26 } |
| 24 } | 27 } |
| 25 }, | 28 }, |
| 26 "basePath": "/gmail/v1/users/", | 29 "basePath": "/gmail/v1/users/", |
| 27 "baseUrl": "https://www.googleapis.com/gmail/v1/users/", | 30 "baseUrl": "https://www.googleapis.com/gmail/v1/users/", |
| 28 "batchPath": "batch", | 31 "batchPath": "batch", |
| 29 "description": "The Gmail REST API.", | 32 "description": "The Gmail REST API.", |
| 30 "discoveryVersion": "v1", | 33 "discoveryVersion": "v1", |
| 31 "documentationLink": "https://developers.google.com/gmail/api/", | 34 "documentationLink": "https://developers.google.com/gmail/api/", |
| 32 "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/rcmL92SXMKTyKvGjL_5VhC8zz9s\"", | 35 "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/hPQpcOx1jxdLJJoNmiYxoTv2oFc\"", |
| 33 "icons": { | 36 "icons": { |
| 34 "x16": "https://www.google.com/images/icons/product/googlemail-16.png", | 37 "x16": "https://www.google.com/images/icons/product/googlemail-16.png", |
| 35 "x32": "https://www.google.com/images/icons/product/googlemail-32.png" | 38 "x32": "https://www.google.com/images/icons/product/googlemail-32.png" |
| 36 }, | 39 }, |
| 37 "id": "gmail:v1", | 40 "id": "gmail:v1", |
| 38 "kind": "discovery#restDescription", | 41 "kind": "discovery#restDescription", |
| 39 "name": "gmail", | 42 "name": "gmail", |
| 40 "ownerDomain": "google.com", | 43 "ownerDomain": "google.com", |
| 41 "ownerName": "Google", | 44 "ownerName": "Google", |
| 42 "parameters": { | 45 "parameters": { |
| (...skipping 1001 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1044 "path": "{userId}/messages/send", | 1047 "path": "{userId}/messages/send", |
| 1045 "request": { | 1048 "request": { |
| 1046 "$ref": "Message" | 1049 "$ref": "Message" |
| 1047 }, | 1050 }, |
| 1048 "response": { | 1051 "response": { |
| 1049 "$ref": "Message" | 1052 "$ref": "Message" |
| 1050 }, | 1053 }, |
| 1051 "scopes": [ | 1054 "scopes": [ |
| 1052 "https://mail.google.com/", | 1055 "https://mail.google.com/", |
| 1053 "https://www.googleapis.com/auth/gmail.compose", | 1056 "https://www.googleapis.com/auth/gmail.compose", |
| 1054 "https://www.googleapis.com/auth/gmail.modify" | 1057 "https://www.googleapis.com/auth/gmail.modify", |
| 1058 "https://www.googleapis.com/auth/gmail.send" |
| 1055 ], | 1059 ], |
| 1056 "supportsMediaUpload": true | 1060 "supportsMediaUpload": true |
| 1057 }, | 1061 }, |
| 1058 "trash": { | 1062 "trash": { |
| 1059 "description": "Moves the specified message to the t
rash.", | 1063 "description": "Moves the specified message to the t
rash.", |
| 1060 "httpMethod": "POST", | 1064 "httpMethod": "POST", |
| 1061 "id": "gmail.users.messages.trash", | 1065 "id": "gmail.users.messages.trash", |
| 1062 "parameterOrder": [ | 1066 "parameterOrder": [ |
| 1063 "userId", | 1067 "userId", |
| 1064 "id" | 1068 "id" |
| (...skipping 339 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1404 "scopes": [ | 1408 "scopes": [ |
| 1405 "https://mail.google.com/", | 1409 "https://mail.google.com/", |
| 1406 "https://www.googleapis.com/auth/gmail.modify" | 1410 "https://www.googleapis.com/auth/gmail.modify" |
| 1407 ] | 1411 ] |
| 1408 } | 1412 } |
| 1409 } | 1413 } |
| 1410 } | 1414 } |
| 1411 } | 1415 } |
| 1412 } | 1416 } |
| 1413 }, | 1417 }, |
| 1414 "revision": "20150526", | 1418 "revision": "20150805", |
| 1415 "rootUrl": "https://www.googleapis.com/", | 1419 "rootUrl": "https://www.googleapis.com/", |
| 1416 "schemas": { | 1420 "schemas": { |
| 1417 "Draft": { | 1421 "Draft": { |
| 1418 "description": "A draft email in the user's mailbox.", | 1422 "description": "A draft email in the user's mailbox.", |
| 1419 "id": "Draft", | 1423 "id": "Draft", |
| 1420 "properties": { | 1424 "properties": { |
| 1421 "id": { | 1425 "id": { |
| 1422 "annotations": { | 1426 "annotations": { |
| 1423 "required": [ | 1427 "required": [ |
| 1424 "gmail.users.drafts.send" | 1428 "gmail.users.drafts.send" |
| (...skipping 571 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1996 "type": "string" | 2000 "type": "string" |
| 1997 } | 2001 } |
| 1998 }, | 2002 }, |
| 1999 "type": "object" | 2003 "type": "object" |
| 2000 } | 2004 } |
| 2001 }, | 2005 }, |
| 2002 "servicePath": "gmail/v1/users/", | 2006 "servicePath": "gmail/v1/users/", |
| 2003 "title": "Gmail API", | 2007 "title": "Gmail API", |
| 2004 "version": "v1" | 2008 "version": "v1" |
| 2005 } | 2009 } |
| OLD | NEW |