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

Side by Side Diff: discovery/googleapis/oauth2__v2.json

Issue 559053002: Generate 0.1.0 version of googleapis/googleapis_beta (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Created 6 years, 3 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 unified diff | Download patch
OLDNEW
(Empty)
1 {
2 "auth": {
3 "oauth2": {
4 "scopes": {
5 "https://www.googleapis.com/auth/plus.login": {
6 "description": "Know your basic profile info and list of peo ple in your circles."
7 },
8 "https://www.googleapis.com/auth/plus.me": {
9 "description": "Know who you are on Google"
10 },
11 "https://www.googleapis.com/auth/userinfo.email": {
12 "description": "View your email address"
13 },
14 "https://www.googleapis.com/auth/userinfo.profile": {
15 "description": "View your basic profile info"
16 }
17 }
18 }
19 },
20 "basePath": "/",
21 "baseUrl": "https://www.googleapis.com/",
22 "batchPath": "batch",
23 "description": "Lets you access OAuth2 protocol related APIs.",
24 "discoveryVersion": "v1",
25 "documentationLink": "https://developers.google.com/accounts/docs/OAuth2",
26 "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/GL-dbqdl5oZGNiFahadB80nONis\"",
27 "icons": {
28 "x16": "http://www.google.com/images/icons/product/search-16.gif",
29 "x32": "http://www.google.com/images/icons/product/search-32.gif"
30 },
31 "id": "oauth2:v2",
32 "kind": "discovery#restDescription",
33 "methods": {
34 "tokeninfo": {
35 "httpMethod": "POST",
36 "id": "oauth2.tokeninfo",
37 "parameters": {
38 "access_token": {
39 "location": "query",
40 "type": "string"
41 },
42 "id_token": {
43 "location": "query",
44 "type": "string"
45 }
46 },
47 "path": "oauth2/v2/tokeninfo",
48 "response": {
49 "$ref": "Tokeninfo"
50 }
51 }
52 },
53 "name": "oauth2",
54 "ownerDomain": "google.com",
55 "ownerName": "Google",
56 "parameters": {
57 "alt": {
58 "default": "json",
59 "description": "Data format for the response.",
60 "enum": [
61 "json"
62 ],
63 "enumDescriptions": [
64 "Responses with Content-Type of application/json"
65 ],
66 "location": "query",
67 "type": "string"
68 },
69 "fields": {
70 "description": "Selector specifying which fields to include in a par tial response.",
71 "location": "query",
72 "type": "string"
73 },
74 "key": {
75 "description": "API key. Your API key identifies your project and pr ovides you with API access, quota, and reports. Required unless you provide an O Auth 2.0 token.",
76 "location": "query",
77 "type": "string"
78 },
79 "oauth_token": {
80 "description": "OAuth 2.0 token for the current user.",
81 "location": "query",
82 "type": "string"
83 },
84 "prettyPrint": {
85 "default": "true",
86 "description": "Returns response with indentations and line breaks." ,
87 "location": "query",
88 "type": "boolean"
89 },
90 "quotaUser": {
91 "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exc eed 40 characters. Overrides userIp if both are provided.",
92 "location": "query",
93 "type": "string"
94 },
95 "userIp": {
96 "description": "IP address of the site where the request originates. Use this if you want to enforce per-user limits.",
97 "location": "query",
98 "type": "string"
99 }
100 },
101 "protocol": "rest",
102 "resources": {
103 "userinfo": {
104 "methods": {
105 "get": {
106 "httpMethod": "GET",
107 "id": "oauth2.userinfo.get",
108 "path": "oauth2/v2/userinfo",
109 "response": {
110 "$ref": "Userinfoplus"
111 },
112 "scopes": [
113 "https://www.googleapis.com/auth/plus.login",
114 "https://www.googleapis.com/auth/plus.me",
115 "https://www.googleapis.com/auth/userinfo.email",
116 "https://www.googleapis.com/auth/userinfo.profile"
117 ]
118 }
119 },
120 "resources": {
121 "v2": {
122 "resources": {
123 "me": {
124 "methods": {
125 "get": {
126 "httpMethod": "GET",
127 "id": "oauth2.userinfo.v2.me.get",
128 "path": "userinfo/v2/me",
129 "response": {
130 "$ref": "Userinfoplus"
131 },
132 "scopes": [
133 "https://www.googleapis.com/auth/plus.lo gin",
134 "https://www.googleapis.com/auth/plus.me ",
135 "https://www.googleapis.com/auth/userinf o.email",
136 "https://www.googleapis.com/auth/userinf o.profile"
137 ]
138 }
139 }
140 }
141 }
142 }
143 }
144 }
145 },
146 "revision": "20140820",
147 "rootUrl": "https://www.googleapis.com/",
148 "schemas": {
149 "Tokeninfo": {
150 "id": "Tokeninfo",
151 "properties": {
152 "access_type": {
153 "description": "The access type granted with this token. It can be offline or online.",
154 "type": "string"
155 },
156 "audience": {
157 "description": "Who is the intended audience for this token. In general the same as issued_to.",
158 "type": "string"
159 },
160 "email": {
161 "description": "The email address of the user. Present only if the email scope is present in the request.",
162 "type": "string"
163 },
164 "expires_in": {
165 "description": "The expiry time of the token, as number of s econds left until expiry.",
166 "format": "int32",
167 "type": "integer"
168 },
169 "issued_to": {
170 "description": "To whom was the token issued to. In general the same as audience.",
171 "type": "string"
172 },
173 "scope": {
174 "description": "The space separated list of scopes granted t o this token.",
175 "type": "string"
176 },
177 "user_id": {
178 "description": "The Gaia obfuscated user id.",
179 "type": "string"
180 },
181 "verified_email": {
182 "description": "Boolean flag which is true if the email addr ess is verified. Present only if the email scope is present in the request.",
183 "type": "boolean"
184 }
185 },
186 "type": "object"
187 },
188 "Userinfoplus": {
189 "id": "Userinfoplus",
190 "properties": {
191 "email": {
192 "description": "The user's email address.",
193 "type": "string"
194 },
195 "family_name": {
196 "description": "The user's last name.",
197 "type": "string"
198 },
199 "gender": {
200 "description": "The user's gender.",
201 "type": "string"
202 },
203 "given_name": {
204 "description": "The user's first name.",
205 "type": "string"
206 },
207 "hd": {
208 "description": "The hosted domain e.g. example.com if the us er is Google apps user.",
209 "type": "string"
210 },
211 "id": {
212 "description": "The focus obfuscated gaia id of the user.",
213 "type": "string"
214 },
215 "link": {
216 "description": "URL of the profile page.",
217 "type": "string"
218 },
219 "locale": {
220 "description": "The user's preferred locale.",
221 "type": "string"
222 },
223 "name": {
224 "description": "The user's full name.",
225 "type": "string"
226 },
227 "picture": {
228 "description": "URL of the user's picture image.",
229 "type": "string"
230 },
231 "verified_email": {
232 "default": "true",
233 "description": "Boolean flag which is true if the email addr ess is verified. Always verified because we only return the user's primary email address.",
234 "type": "boolean"
235 }
236 },
237 "type": "object"
238 }
239 },
240 "servicePath": "",
241 "title": "Google OAuth2 API",
242 "version": "v2"
243 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698