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 19 matching lines...) Expand all Loading... |
30 "description": "Manage your basic mail settings" | 30 "description": "Manage your basic mail settings" |
31 }, | 31 }, |
32 "https://www.googleapis.com/auth/gmail.settings.sharing": { | 32 "https://www.googleapis.com/auth/gmail.settings.sharing": { |
33 "description": "Manage your sensitive mail settings, includi
ng who can manage your mail" | 33 "description": "Manage your sensitive mail settings, includi
ng who can manage your mail" |
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/gmail/v1", |
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": "\"YWOzh2SDasdU84ArJnpYek-OMdg/cfwk3aTPmWr_P6YQADqMFHP3jro\"", | 44 "etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/uYcO_Bfzv01oUg-u_-w9YZWy7FQ\"", |
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 2320 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": "20170725", | 2385 "revision": "20170905", |
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 335 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2731 "format": "int32", | 2731 "format": "int32", |
2732 "type": "integer" | 2732 "type": "integer" |
2733 } | 2733 } |
2734 }, | 2734 }, |
2735 "type": "object" | 2735 "type": "object" |
2736 }, | 2736 }, |
2737 "Label": { | 2737 "Label": { |
2738 "description": "Labels are used to categorize messages and threads w
ithin the user's mailbox.", | 2738 "description": "Labels are used to categorize messages and threads w
ithin the user's mailbox.", |
2739 "id": "Label", | 2739 "id": "Label", |
2740 "properties": { | 2740 "properties": { |
| 2741 "color": { |
| 2742 "$ref": "LabelColor", |
| 2743 "description": "Color to assign to the label. This field is
hidden behind an API server mendel experiment and only available for user-define
d labels. Will be unset if the label doesn't have a color configured." |
| 2744 }, |
2741 "id": { | 2745 "id": { |
2742 "annotations": { | 2746 "annotations": { |
2743 "required": [ | 2747 "required": [ |
2744 "gmail.users.labels.update" | 2748 "gmail.users.labels.update" |
2745 ] | 2749 ] |
2746 }, | 2750 }, |
2747 "description": "The immutable ID of the label.", | 2751 "description": "The immutable ID of the label.", |
2748 "type": "string" | 2752 "type": "string" |
2749 }, | 2753 }, |
2750 "labelListVisibility": { | 2754 "labelListVisibility": { |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2823 ], | 2827 ], |
2824 "enumDescriptions": [ | 2828 "enumDescriptions": [ |
2825 "", | 2829 "", |
2826 "" | 2830 "" |
2827 ], | 2831 ], |
2828 "type": "string" | 2832 "type": "string" |
2829 } | 2833 } |
2830 }, | 2834 }, |
2831 "type": "object" | 2835 "type": "object" |
2832 }, | 2836 }, |
| 2837 "LabelColor": { |
| 2838 "id": "LabelColor", |
| 2839 "properties": { |
| 2840 "backgroundColor": { |
| 2841 "description": "Background color represented as hex string #
RRGGBB (ex #000000). Only a restricted predefined set of color values are allowe
d. See (go/gmail-api-label-colors).", |
| 2842 "type": "string" |
| 2843 }, |
| 2844 "textColor": { |
| 2845 "description": "Text color represented as hex string #RRGGBB
(ex #000000). Only a restricted predefined set of color values are allowed. See
(go/gmail-api-label-colors).", |
| 2846 "type": "string" |
| 2847 } |
| 2848 }, |
| 2849 "type": "object" |
| 2850 }, |
2833 "ListDraftsResponse": { | 2851 "ListDraftsResponse": { |
2834 "id": "ListDraftsResponse", | 2852 "id": "ListDraftsResponse", |
2835 "properties": { | 2853 "properties": { |
2836 "drafts": { | 2854 "drafts": { |
2837 "description": "List of drafts.", | 2855 "description": "List of drafts.", |
2838 "items": { | 2856 "items": { |
2839 "$ref": "Draft" | 2857 "$ref": "Draft" |
2840 }, | 2858 }, |
2841 "type": "array" | 2859 "type": "array" |
2842 }, | 2860 }, |
(...skipping 623 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3466 "type": "string" | 3484 "type": "string" |
3467 } | 3485 } |
3468 }, | 3486 }, |
3469 "type": "object" | 3487 "type": "object" |
3470 } | 3488 } |
3471 }, | 3489 }, |
3472 "servicePath": "gmail/v1/users/", | 3490 "servicePath": "gmail/v1/users/", |
3473 "title": "Gmail API", | 3491 "title": "Gmail API", |
3474 "version": "v1" | 3492 "version": "v1" |
3475 } | 3493 } |
OLD | NEW |