| 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.modify": { | 11 "https://www.googleapis.com/auth/gmail.modify": { |
| 12 "description": "View and modify but not delete your email" | 12 "description": "View and modify but not delete your email" |
| 13 }, | 13 }, |
| 14 "https://www.googleapis.com/auth/gmail.readonly": { | 14 "https://www.googleapis.com/auth/gmail.readonly": { |
| 15 "description": "View your emails messages and settings" | 15 "description": "View your emails messages and settings" |
| 16 } | 16 } |
| 17 } | 17 } |
| 18 } | 18 } |
| 19 }, | 19 }, |
| 20 "basePath": "/gmail/v1/users/", | 20 "basePath": "/gmail/v1/users/", |
| 21 "baseUrl": "https://www.googleapis.com/gmail/v1/users/", | 21 "baseUrl": "https://www.googleapis.com/gmail/v1/users/", |
| 22 "batchPath": "batch", | 22 "batchPath": "batch", |
| 23 "description": "The Gmail REST API.", | 23 "description": "The Gmail REST API.", |
| 24 "discoveryVersion": "v1", | 24 "discoveryVersion": "v1", |
| 25 "documentationLink": "https://developers.google.com/gmail/api/", | 25 "documentationLink": "https://developers.google.com/gmail/api/", |
| 26 "etag": "\"l66ggWbucbkBw9Lpos72oziyefE/VTv_VctBdqXjsksB5IcLu4ps6Nw\"", | 26 "etag": "\"l66ggWbucbkBw9Lpos72oziyefE/oTc1ZFBBKYPWVfuhl_PGLzRZK7E\"", |
| 27 "icons": { | 27 "icons": { |
| 28 "x16": "https://www.google.com/images/icons/product/googlemail-16.png", | 28 "x16": "https://www.google.com/images/icons/product/googlemail-16.png", |
| 29 "x32": "https://www.google.com/images/icons/product/googlemail-32.png" | 29 "x32": "https://www.google.com/images/icons/product/googlemail-32.png" |
| 30 }, | 30 }, |
| 31 "id": "gmail:v1", | 31 "id": "gmail:v1", |
| 32 "kind": "discovery#restDescription", | 32 "kind": "discovery#restDescription", |
| 33 "name": "gmail", | 33 "name": "gmail", |
| 34 "ownerDomain": "google.com", | 34 "ownerDomain": "google.com", |
| 35 "ownerName": "Google", | 35 "ownerName": "Google", |
| 36 "parameters": { | 36 "parameters": { |
| (...skipping 1072 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1109 }, | 1109 }, |
| 1110 "get": { | 1110 "get": { |
| 1111 "description": "Gets the specified thread.", | 1111 "description": "Gets the specified thread.", |
| 1112 "httpMethod": "GET", | 1112 "httpMethod": "GET", |
| 1113 "id": "gmail.users.threads.get", | 1113 "id": "gmail.users.threads.get", |
| 1114 "parameterOrder": [ | 1114 "parameterOrder": [ |
| 1115 "userId", | 1115 "userId", |
| 1116 "id" | 1116 "id" |
| 1117 ], | 1117 ], |
| 1118 "parameters": { | 1118 "parameters": { |
| 1119 "format": { |
| 1120 "default": "full", |
| 1121 "description": "The format to return the mes
sages in.", |
| 1122 "enum": [ |
| 1123 "full", |
| 1124 "metadata", |
| 1125 "minimal" |
| 1126 ], |
| 1127 "enumDescriptions": [ |
| 1128 "", |
| 1129 "", |
| 1130 "" |
| 1131 ], |
| 1132 "location": "query", |
| 1133 "type": "string" |
| 1134 }, |
| 1119 "id": { | 1135 "id": { |
| 1120 "description": "The ID of the thread to retr
ieve.", | 1136 "description": "The ID of the thread to retr
ieve.", |
| 1121 "location": "path", | 1137 "location": "path", |
| 1122 "required": true, | 1138 "required": true, |
| 1123 "type": "string" | 1139 "type": "string" |
| 1124 }, | 1140 }, |
| 1141 "metadataHeaders": { |
| 1142 "description": "When given and format is MET
ADATA, only include headers specified.", |
| 1143 "location": "query", |
| 1144 "repeated": true, |
| 1145 "type": "string" |
| 1146 }, |
| 1125 "userId": { | 1147 "userId": { |
| 1126 "default": "me", | 1148 "default": "me", |
| 1127 "description": "The user's email address. Th
e special value me can be used to indicate the authenticated user.", | 1149 "description": "The user's email address. Th
e special value me can be used to indicate the authenticated user.", |
| 1128 "location": "path", | 1150 "location": "path", |
| 1129 "required": true, | 1151 "required": true, |
| 1130 "type": "string" | 1152 "type": "string" |
| 1131 } | 1153 } |
| 1132 }, | 1154 }, |
| 1133 "path": "{userId}/threads/{id}", | 1155 "path": "{userId}/threads/{id}", |
| 1134 "response": { | 1156 "response": { |
| (...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1292 "scopes": [ | 1314 "scopes": [ |
| 1293 "https://mail.google.com/", | 1315 "https://mail.google.com/", |
| 1294 "https://www.googleapis.com/auth/gmail.modify" | 1316 "https://www.googleapis.com/auth/gmail.modify" |
| 1295 ] | 1317 ] |
| 1296 } | 1318 } |
| 1297 } | 1319 } |
| 1298 } | 1320 } |
| 1299 } | 1321 } |
| 1300 } | 1322 } |
| 1301 }, | 1323 }, |
| 1302 "revision": "20141009", | 1324 "revision": "20141017", |
| 1303 "rootUrl": "https://www.googleapis.com/", | 1325 "rootUrl": "https://www.googleapis.com/", |
| 1304 "schemas": { | 1326 "schemas": { |
| 1305 "Draft": { | 1327 "Draft": { |
| 1306 "description": "A draft email in the user's mailbox.", | 1328 "description": "A draft email in the user's mailbox.", |
| 1307 "id": "Draft", | 1329 "id": "Draft", |
| 1308 "properties": { | 1330 "properties": { |
| 1309 "id": { | 1331 "id": { |
| 1310 "annotations": { | 1332 "annotations": { |
| 1311 "required": [ | 1333 "required": [ |
| 1312 "gmail.users.drafts.send" | 1334 "gmail.users.drafts.send" |
| (...skipping 441 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1754 "type": "string" | 1776 "type": "string" |
| 1755 } | 1777 } |
| 1756 }, | 1778 }, |
| 1757 "type": "object" | 1779 "type": "object" |
| 1758 } | 1780 } |
| 1759 }, | 1781 }, |
| 1760 "servicePath": "gmail/v1/users/", | 1782 "servicePath": "gmail/v1/users/", |
| 1761 "title": "Gmail API", | 1783 "title": "Gmail API", |
| 1762 "version": "v1" | 1784 "version": "v1" |
| 1763 } | 1785 } |
| OLD | NEW |