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": "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 }, |
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 }, |
(...skipping 17 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/bv4LA8S_yqDUVUFrxfui1vcVGzk\"", | 44 "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/nNHa5d4TJZ825afZFgDJZn14WPw\"", |
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 1315 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1370 "$ref": "VacationSettings" | 1370 "$ref": "VacationSettings" |
1371 }, | 1371 }, |
1372 "scopes": [ | 1372 "scopes": [ |
1373 "https://mail.google.com/", | 1373 "https://mail.google.com/", |
1374 "https://www.googleapis.com/auth/gmail.modify", | 1374 "https://www.googleapis.com/auth/gmail.modify", |
1375 "https://www.googleapis.com/auth/gmail.readonly"
, | 1375 "https://www.googleapis.com/auth/gmail.readonly"
, |
1376 "https://www.googleapis.com/auth/gmail.settings.
basic" | 1376 "https://www.googleapis.com/auth/gmail.settings.
basic" |
1377 ] | 1377 ] |
1378 }, | 1378 }, |
1379 "updateAutoForwarding": { | 1379 "updateAutoForwarding": { |
1380 "description": "Updates the auto-forwarding setting
for the specified account. A verified forwarding address must be specified when
auto-forwarding is enabled.", | 1380 "description": "Updates the auto-forwarding setting
for the specified account. A verified forwarding address must be specified when
auto-forwarding is enabled.\n\nThis method is only available to service account
clients that have been delegated domain-wide authority.", |
1381 "httpMethod": "PUT", | 1381 "httpMethod": "PUT", |
1382 "id": "gmail.users.settings.updateAutoForwarding", | 1382 "id": "gmail.users.settings.updateAutoForwarding", |
1383 "parameterOrder": [ | 1383 "parameterOrder": [ |
1384 "userId" | 1384 "userId" |
1385 ], | 1385 ], |
1386 "parameters": { | 1386 "parameters": { |
1387 "userId": { | 1387 "userId": { |
1388 "default": "me", | 1388 "default": "me", |
1389 "description": "User's email address. The sp
ecial value \"me\" can be used to indicate the authenticated user.", | 1389 "description": "User's email address. The sp
ecial value \"me\" can be used to indicate the authenticated user.", |
1390 "location": "path", | 1390 "location": "path", |
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1602 "https://www.googleapis.com/auth/gmail.m
odify", | 1602 "https://www.googleapis.com/auth/gmail.m
odify", |
1603 "https://www.googleapis.com/auth/gmail.r
eadonly", | 1603 "https://www.googleapis.com/auth/gmail.r
eadonly", |
1604 "https://www.googleapis.com/auth/gmail.s
ettings.basic" | 1604 "https://www.googleapis.com/auth/gmail.s
ettings.basic" |
1605 ] | 1605 ] |
1606 } | 1606 } |
1607 } | 1607 } |
1608 }, | 1608 }, |
1609 "forwardingAddresses": { | 1609 "forwardingAddresses": { |
1610 "methods": { | 1610 "methods": { |
1611 "create": { | 1611 "create": { |
1612 "description": "Creates a forwarding address
. If ownership verification is required, a message will be sent to the recipient
and the resource's verification status will be set to pending; otherwise, the r
esource will be created with verification status set to accepted.", | 1612 "description": "Creates a forwarding address
. If ownership verification is required, a message will be sent to the recipient
and the resource's verification status will be set to pending; otherwise, the r
esource will be created with verification status set to accepted.\n\nThis method
is only available to service account clients that have been delegated domain-wi
de authority.", |
1613 "httpMethod": "POST", | 1613 "httpMethod": "POST", |
1614 "id": "gmail.users.settings.forwardingAddres
ses.create", | 1614 "id": "gmail.users.settings.forwardingAddres
ses.create", |
1615 "parameterOrder": [ | 1615 "parameterOrder": [ |
1616 "userId" | 1616 "userId" |
1617 ], | 1617 ], |
1618 "parameters": { | 1618 "parameters": { |
1619 "userId": { | 1619 "userId": { |
1620 "default": "me", | 1620 "default": "me", |
1621 "description": "User's email address
. The special value \"me\" can be used to indicate the authenticated user.", | 1621 "description": "User's email address
. The special value \"me\" can be used to indicate the authenticated user.", |
1622 "location": "path", | 1622 "location": "path", |
1623 "required": true, | 1623 "required": true, |
1624 "type": "string" | 1624 "type": "string" |
1625 } | 1625 } |
1626 }, | 1626 }, |
1627 "path": "{userId}/settings/forwardingAddress
es", | 1627 "path": "{userId}/settings/forwardingAddress
es", |
1628 "request": { | 1628 "request": { |
1629 "$ref": "ForwardingAddress" | 1629 "$ref": "ForwardingAddress" |
1630 }, | 1630 }, |
1631 "response": { | 1631 "response": { |
1632 "$ref": "ForwardingAddress" | 1632 "$ref": "ForwardingAddress" |
1633 }, | 1633 }, |
1634 "scopes": [ | 1634 "scopes": [ |
1635 "https://www.googleapis.com/auth/gmail.s
ettings.sharing" | 1635 "https://www.googleapis.com/auth/gmail.s
ettings.sharing" |
1636 ] | 1636 ] |
1637 }, | 1637 }, |
1638 "delete": { | 1638 "delete": { |
1639 "description": "Deletes the specified forwar
ding address and revokes any verification that may have been required.", | 1639 "description": "Deletes the specified forwar
ding address and revokes any verification that may have been required.\n\nThis m
ethod is only available to service account clients that have been delegated doma
in-wide authority.", |
1640 "httpMethod": "DELETE", | 1640 "httpMethod": "DELETE", |
1641 "id": "gmail.users.settings.forwardingAddres
ses.delete", | 1641 "id": "gmail.users.settings.forwardingAddres
ses.delete", |
1642 "parameterOrder": [ | 1642 "parameterOrder": [ |
1643 "userId", | 1643 "userId", |
1644 "forwardingEmail" | 1644 "forwardingEmail" |
1645 ], | 1645 ], |
1646 "parameters": { | 1646 "parameters": { |
1647 "forwardingEmail": { | 1647 "forwardingEmail": { |
1648 "description": "The forwarding addre
ss to be deleted.", | 1648 "description": "The forwarding addre
ss to be deleted.", |
1649 "location": "path", | 1649 "location": "path", |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1722 "https://www.googleapis.com/auth/gmail.m
odify", | 1722 "https://www.googleapis.com/auth/gmail.m
odify", |
1723 "https://www.googleapis.com/auth/gmail.r
eadonly", | 1723 "https://www.googleapis.com/auth/gmail.r
eadonly", |
1724 "https://www.googleapis.com/auth/gmail.s
ettings.basic" | 1724 "https://www.googleapis.com/auth/gmail.s
ettings.basic" |
1725 ] | 1725 ] |
1726 } | 1726 } |
1727 } | 1727 } |
1728 }, | 1728 }, |
1729 "sendAs": { | 1729 "sendAs": { |
1730 "methods": { | 1730 "methods": { |
1731 "create": { | 1731 "create": { |
1732 "description": "Creates a custom \"from\" se
nd-as alias. If an SMTP MSA is specified, Gmail will attempt to connect to the S
MTP service to validate the configuration before creating the alias. If ownershi
p verification is required for the alias, a message will be sent to the email ad
dress and the resource's verification status will be set to pending; otherwise,
the resource will be created with verification status set to accepted. If a sign
ature is provided, Gmail will sanitize the HTML before saving it with the alias.
", | 1732 "description": "Creates a custom \"from\" se
nd-as alias. If an SMTP MSA is specified, Gmail will attempt to connect to the S
MTP service to validate the configuration before creating the alias. If ownershi
p verification is required for the alias, a message will be sent to the email ad
dress and the resource's verification status will be set to pending; otherwise,
the resource will be created with verification status set to accepted. If a sign
ature is provided, Gmail will sanitize the HTML before saving it with the alias.
\n\nThis method is only available to service account clients that have been dele
gated domain-wide authority.", |
1733 "httpMethod": "POST", | 1733 "httpMethod": "POST", |
1734 "id": "gmail.users.settings.sendAs.create", | 1734 "id": "gmail.users.settings.sendAs.create", |
1735 "parameterOrder": [ | 1735 "parameterOrder": [ |
1736 "userId" | 1736 "userId" |
1737 ], | 1737 ], |
1738 "parameters": { | 1738 "parameters": { |
1739 "userId": { | 1739 "userId": { |
1740 "default": "me", | 1740 "default": "me", |
1741 "description": "User's email address
. The special value \"me\" can be used to indicate the authenticated user.", | 1741 "description": "User's email address
. The special value \"me\" can be used to indicate the authenticated user.", |
1742 "location": "path", | 1742 "location": "path", |
1743 "required": true, | 1743 "required": true, |
1744 "type": "string" | 1744 "type": "string" |
1745 } | 1745 } |
1746 }, | 1746 }, |
1747 "path": "{userId}/settings/sendAs", | 1747 "path": "{userId}/settings/sendAs", |
1748 "request": { | 1748 "request": { |
1749 "$ref": "SendAs" | 1749 "$ref": "SendAs" |
1750 }, | 1750 }, |
1751 "response": { | 1751 "response": { |
1752 "$ref": "SendAs" | 1752 "$ref": "SendAs" |
1753 }, | 1753 }, |
1754 "scopes": [ | 1754 "scopes": [ |
1755 "https://www.googleapis.com/auth/gmail.s
ettings.sharing" | 1755 "https://www.googleapis.com/auth/gmail.s
ettings.sharing" |
1756 ] | 1756 ] |
1757 }, | 1757 }, |
1758 "delete": { | 1758 "delete": { |
1759 "description": "Deletes the specified send-a
s alias. Revokes any verification that may have been required for using it.", | 1759 "description": "Deletes the specified send-a
s alias. Revokes any verification that may have been required for using it.\n\nT
his method is only available to service account clients that have been delegated
domain-wide authority.", |
1760 "httpMethod": "DELETE", | 1760 "httpMethod": "DELETE", |
1761 "id": "gmail.users.settings.sendAs.delete", | 1761 "id": "gmail.users.settings.sendAs.delete", |
1762 "parameterOrder": [ | 1762 "parameterOrder": [ |
1763 "userId", | 1763 "userId", |
1764 "sendAsEmail" | 1764 "sendAsEmail" |
1765 ], | 1765 ], |
1766 "parameters": { | 1766 "parameters": { |
1767 "sendAsEmail": { | 1767 "sendAsEmail": { |
1768 "description": "The send-as alias to
be deleted.", | 1768 "description": "The send-as alias to
be deleted.", |
1769 "location": "path", | 1769 "location": "path", |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1838 "$ref": "ListSendAsResponse" | 1838 "$ref": "ListSendAsResponse" |
1839 }, | 1839 }, |
1840 "scopes": [ | 1840 "scopes": [ |
1841 "https://mail.google.com/", | 1841 "https://mail.google.com/", |
1842 "https://www.googleapis.com/auth/gmail.m
odify", | 1842 "https://www.googleapis.com/auth/gmail.m
odify", |
1843 "https://www.googleapis.com/auth/gmail.r
eadonly", | 1843 "https://www.googleapis.com/auth/gmail.r
eadonly", |
1844 "https://www.googleapis.com/auth/gmail.s
ettings.basic" | 1844 "https://www.googleapis.com/auth/gmail.s
ettings.basic" |
1845 ] | 1845 ] |
1846 }, | 1846 }, |
1847 "patch": { | 1847 "patch": { |
1848 "description": "Updates a send-as alias. If
a signature is provided, Gmail will sanitize the HTML before saving it with the
alias. This method supports patch semantics.", | 1848 "description": "Updates a send-as alias. If
a signature is provided, Gmail will sanitize the HTML before saving it with the
alias.\n\nAddresses other than the primary address for the account can only be u
pdated by service account clients that have been delegated domain-wide authority
. This method supports patch semantics.", |
1849 "httpMethod": "PATCH", | 1849 "httpMethod": "PATCH", |
1850 "id": "gmail.users.settings.sendAs.patch", | 1850 "id": "gmail.users.settings.sendAs.patch", |
1851 "parameterOrder": [ | 1851 "parameterOrder": [ |
1852 "userId", | 1852 "userId", |
1853 "sendAsEmail" | 1853 "sendAsEmail" |
1854 ], | 1854 ], |
1855 "parameters": { | 1855 "parameters": { |
1856 "sendAsEmail": { | 1856 "sendAsEmail": { |
1857 "description": "The send-as alias to
be updated.", | 1857 "description": "The send-as alias to
be updated.", |
1858 "location": "path", | 1858 "location": "path", |
(...skipping 14 matching lines...) Expand all Loading... |
1873 }, | 1873 }, |
1874 "response": { | 1874 "response": { |
1875 "$ref": "SendAs" | 1875 "$ref": "SendAs" |
1876 }, | 1876 }, |
1877 "scopes": [ | 1877 "scopes": [ |
1878 "https://www.googleapis.com/auth/gmail.s
ettings.basic", | 1878 "https://www.googleapis.com/auth/gmail.s
ettings.basic", |
1879 "https://www.googleapis.com/auth/gmail.s
ettings.sharing" | 1879 "https://www.googleapis.com/auth/gmail.s
ettings.sharing" |
1880 ] | 1880 ] |
1881 }, | 1881 }, |
1882 "update": { | 1882 "update": { |
1883 "description": "Updates a send-as alias. If
a signature is provided, Gmail will sanitize the HTML before saving it with the
alias.", | 1883 "description": "Updates a send-as alias. If
a signature is provided, Gmail will sanitize the HTML before saving it with the
alias.\n\nAddresses other than the primary address for the account can only be u
pdated by service account clients that have been delegated domain-wide authority
.", |
1884 "httpMethod": "PUT", | 1884 "httpMethod": "PUT", |
1885 "id": "gmail.users.settings.sendAs.update", | 1885 "id": "gmail.users.settings.sendAs.update", |
1886 "parameterOrder": [ | 1886 "parameterOrder": [ |
1887 "userId", | 1887 "userId", |
1888 "sendAsEmail" | 1888 "sendAsEmail" |
1889 ], | 1889 ], |
1890 "parameters": { | 1890 "parameters": { |
1891 "sendAsEmail": { | 1891 "sendAsEmail": { |
1892 "description": "The send-as alias to
be updated.", | 1892 "description": "The send-as alias to
be updated.", |
1893 "location": "path", | 1893 "location": "path", |
(...skipping 14 matching lines...) Expand all Loading... |
1908 }, | 1908 }, |
1909 "response": { | 1909 "response": { |
1910 "$ref": "SendAs" | 1910 "$ref": "SendAs" |
1911 }, | 1911 }, |
1912 "scopes": [ | 1912 "scopes": [ |
1913 "https://www.googleapis.com/auth/gmail.s
ettings.basic", | 1913 "https://www.googleapis.com/auth/gmail.s
ettings.basic", |
1914 "https://www.googleapis.com/auth/gmail.s
ettings.sharing" | 1914 "https://www.googleapis.com/auth/gmail.s
ettings.sharing" |
1915 ] | 1915 ] |
1916 }, | 1916 }, |
1917 "verify": { | 1917 "verify": { |
1918 "description": "Sends a verification email t
o the specified send-as alias address. The verification status must be pending."
, | 1918 "description": "Sends a verification email t
o the specified send-as alias address. The verification status must be pending.\
n\nThis method is only available to service account clients that have been deleg
ated domain-wide authority.", |
1919 "httpMethod": "POST", | 1919 "httpMethod": "POST", |
1920 "id": "gmail.users.settings.sendAs.verify", | 1920 "id": "gmail.users.settings.sendAs.verify", |
1921 "parameterOrder": [ | 1921 "parameterOrder": [ |
1922 "userId", | 1922 "userId", |
1923 "sendAsEmail" | 1923 "sendAsEmail" |
1924 ], | 1924 ], |
1925 "parameters": { | 1925 "parameters": { |
1926 "sendAsEmail": { | 1926 "sendAsEmail": { |
1927 "description": "The send-as alias to
be verified.", | 1927 "description": "The send-as alias to
be verified.", |
1928 "location": "path", | 1928 "location": "path", |
(...skipping 446 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": "20170206", | 2385 "revision": "20170222", |
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 |