Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(13)

Unified Diff: discovery/googleapis/gmail__v1.json

Issue 663113002: Api roll 4: 2014-10-20 (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « discovery/googleapis/games__v1.json ('k') | discovery/googleapis/groupsmigration__v1.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: discovery/googleapis/gmail__v1.json
diff --git a/discovery/googleapis/gmail__v1.json b/discovery/googleapis/gmail__v1.json
index fdd6daa760e3c3de0993a566420e34cd303d34a8..15efe0156163d0ac4547efe1f701114fa333eccf 100644
--- a/discovery/googleapis/gmail__v1.json
+++ b/discovery/googleapis/gmail__v1.json
@@ -23,7 +23,7 @@
"description": "The Gmail REST API.",
"discoveryVersion": "v1",
"documentationLink": "https://developers.google.com/gmail/api/",
- "etag": "\"8MqRhZzx1kw0pwpjahVJEB3eI6w/FGWIXwFi3bZjyIWUjsVvCy3aEZU\"",
+ "etag": "\"l66ggWbucbkBw9Lpos72oziyefE/VTv_VctBdqXjsksB5IcLu4ps6Nw\"",
"icons": {
"x16": "https://www.google.com/images/icons/product/googlemail-16.png",
"x32": "https://www.google.com/images/icons/product/googlemail-32.png"
@@ -81,6 +81,35 @@
"protocol": "rest",
"resources": {
"users": {
+ "methods": {
+ "getProfile": {
+ "description": "Gets the current user's Gmail profile.",
+ "httpMethod": "GET",
+ "id": "gmail.users.getProfile",
+ "parameterOrder": [
+ "userId"
+ ],
+ "parameters": {
+ "userId": {
+ "default": "me",
+ "description": "The user's email address. The special value me can be used to indicate the authenticated user.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "{userId}/profile",
+ "response": {
+ "$ref": "Profile"
+ },
+ "scopes": [
+ "https://mail.google.com/",
+ "https://www.googleapis.com/auth/gmail.compose",
+ "https://www.googleapis.com/auth/gmail.modify",
+ "https://www.googleapis.com/auth/gmail.readonly"
+ ]
+ }
+ },
"resources": {
"drafts": {
"methods": {
@@ -1270,7 +1299,7 @@
}
}
},
- "revision": "20141001",
+ "revision": "20141009",
"rootUrl": "https://www.googleapis.com/",
"schemas": {
"Draft": {
@@ -1674,6 +1703,32 @@
},
"type": "object"
},
+ "Profile": {
+ "description": "Profile for a Gmail user.",
+ "id": "Profile",
+ "properties": {
+ "emailAddress": {
+ "description": "The user's email address.",
+ "type": "string"
+ },
+ "historyId": {
+ "description": "The ID of the mailbox's current history record.",
+ "format": "uint64",
+ "type": "string"
+ },
+ "messagesTotal": {
+ "description": "The total number of messages in the mailbox.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "threadsTotal": {
+ "description": "The total number of threads in the mailbox.",
+ "format": "int32",
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
"Thread": {
"description": "A collection of messages representing a conversation.",
"id": "Thread",
« no previous file with comments | « discovery/googleapis/games__v1.json ('k') | discovery/googleapis/groupsmigration__v1.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698