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": "Read, send, delete, and manage your email" | 6 "description": "Read, send, delete, and manage your email" |
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 23 matching lines...) Expand all Loading... |
34 } | 34 } |
35 } | 35 } |
36 } | 36 } |
37 }, | 37 }, |
38 "basePath": "/gmail/v1/users/", | 38 "basePath": "/gmail/v1/users/", |
39 "baseUrl": "https://www.googleapis.com/gmail/v1/users/", | 39 "baseUrl": "https://www.googleapis.com/gmail/v1/users/", |
40 "batchPath": "batch", | 40 "batchPath": "batch", |
41 "description": "Access Gmail mailboxes including sending user email.", | 41 "description": "Access Gmail mailboxes including sending user email.", |
42 "discoveryVersion": "v1", | 42 "discoveryVersion": "v1", |
43 "documentationLink": "https://developers.google.com/gmail/api/", | 43 "documentationLink": "https://developers.google.com/gmail/api/", |
44 "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/nNHa5d4TJZ825afZFgDJZn14WPw\"", | 44 "etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/UwagAxm_I2G-u6KLgFC6FvmGYn8\"", |
45 "icons": { | 45 "icons": { |
46 "x16": "https://www.google.com/images/icons/product/googlemail-16.png", | 46 "x16": "https://www.google.com/images/icons/product/googlemail-16.png", |
47 "x32": "https://www.google.com/images/icons/product/googlemail-32.png" | 47 "x32": "https://www.google.com/images/icons/product/googlemail-32.png" |
48 }, | 48 }, |
49 "id": "gmail:v1", | 49 "id": "gmail:v1", |
50 "kind": "discovery#restDescription", | 50 "kind": "discovery#restDescription", |
51 "name": "gmail", | 51 "name": "gmail", |
52 "ownerDomain": "google.com", | 52 "ownerDomain": "google.com", |
53 "ownerName": "Google", | 53 "ownerName": "Google", |
54 "parameters": { | 54 "parameters": { |
(...skipping 818 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
873 ] | 873 ] |
874 }, | 874 }, |
875 "import": { | 875 "import": { |
876 "description": "Imports a message into only this use
r's mailbox, with standard email delivery scanning and classification similar to
receiving via SMTP. Does not send a message.", | 876 "description": "Imports a message into only this use
r's mailbox, with standard email delivery scanning and classification similar to
receiving via SMTP. Does not send a message.", |
877 "httpMethod": "POST", | 877 "httpMethod": "POST", |
878 "id": "gmail.users.messages.import", | 878 "id": "gmail.users.messages.import", |
879 "mediaUpload": { | 879 "mediaUpload": { |
880 "accept": [ | 880 "accept": [ |
881 "message/rfc822" | 881 "message/rfc822" |
882 ], | 882 ], |
883 "maxSize": "35MB", | 883 "maxSize": "50MB", |
884 "protocols": { | 884 "protocols": { |
885 "resumable": { | 885 "resumable": { |
886 "multipart": true, | 886 "multipart": true, |
887 "path": "/resumable/upload/gmail/v1/user
s/{userId}/messages/import" | 887 "path": "/resumable/upload/gmail/v1/user
s/{userId}/messages/import" |
888 }, | 888 }, |
889 "simple": { | 889 "simple": { |
890 "multipart": true, | 890 "multipart": true, |
891 "path": "/upload/gmail/v1/users/{userId}
/messages/import" | 891 "path": "/upload/gmail/v1/users/{userId}
/messages/import" |
892 } | 892 } |
893 } | 893 } |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
951 "supportsMediaUpload": true | 951 "supportsMediaUpload": true |
952 }, | 952 }, |
953 "insert": { | 953 "insert": { |
954 "description": "Directly inserts a message into only
this user's mailbox similar to IMAP APPEND, bypassing most scanning and classif
ication. Does not send a message.", | 954 "description": "Directly inserts a message into only
this user's mailbox similar to IMAP APPEND, bypassing most scanning and classif
ication. Does not send a message.", |
955 "httpMethod": "POST", | 955 "httpMethod": "POST", |
956 "id": "gmail.users.messages.insert", | 956 "id": "gmail.users.messages.insert", |
957 "mediaUpload": { | 957 "mediaUpload": { |
958 "accept": [ | 958 "accept": [ |
959 "message/rfc822" | 959 "message/rfc822" |
960 ], | 960 ], |
961 "maxSize": "35MB", | 961 "maxSize": "50MB", |
962 "protocols": { | 962 "protocols": { |
963 "resumable": { | 963 "resumable": { |
964 "multipart": true, | 964 "multipart": true, |
965 "path": "/resumable/upload/gmail/v1/user
s/{userId}/messages" | 965 "path": "/resumable/upload/gmail/v1/user
s/{userId}/messages" |
966 }, | 966 }, |
967 "simple": { | 967 "simple": { |
968 "multipart": true, | 968 "multipart": true, |
969 "path": "/upload/gmail/v1/users/{userId}
/messages" | 969 "path": "/upload/gmail/v1/users/{userId}
/messages" |
970 } | 970 } |
971 } | 971 } |
(...skipping 1403 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2375 "scopes": [ | 2375 "scopes": [ |
2376 "https://mail.google.com/", | 2376 "https://mail.google.com/", |
2377 "https://www.googleapis.com/auth/gmail.modify" | 2377 "https://www.googleapis.com/auth/gmail.modify" |
2378 ] | 2378 ] |
2379 } | 2379 } |
2380 } | 2380 } |
2381 } | 2381 } |
2382 } | 2382 } |
2383 } | 2383 } |
2384 }, | 2384 }, |
2385 "revision": "20170222", | 2385 "revision": "20170405", |
2386 "rootUrl": "https://www.googleapis.com/", | 2386 "rootUrl": "https://www.googleapis.com/", |
2387 "schemas": { | 2387 "schemas": { |
2388 "AutoForwarding": { | 2388 "AutoForwarding": { |
2389 "description": "Auto-forwarding settings for an account.", | 2389 "description": "Auto-forwarding settings for an account.", |
2390 "id": "AutoForwarding", | 2390 "id": "AutoForwarding", |
2391 "properties": { | 2391 "properties": { |
2392 "disposition": { | 2392 "disposition": { |
2393 "description": "The state that a message should be left in a
fter it has been forwarded.", | 2393 "description": "The state that a message should be left in a
fter it has been forwarded.", |
2394 "enum": [ | 2394 "enum": [ |
2395 "archive", | 2395 "archive", |
(...skipping 1070 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3466 "type": "string" | 3466 "type": "string" |
3467 } | 3467 } |
3468 }, | 3468 }, |
3469 "type": "object" | 3469 "type": "object" |
3470 } | 3470 } |
3471 }, | 3471 }, |
3472 "servicePath": "gmail/v1/users/", | 3472 "servicePath": "gmail/v1/users/", |
3473 "title": "Gmail API", | 3473 "title": "Gmail API", |
3474 "version": "v1" | 3474 "version": "v1" |
3475 } | 3475 } |
OLD | NEW |