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

Side by Side Diff: discovery/googleapis/gamesManagement__v1management.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/games": {
6 "description": "Share your Google+ profile information and v iew and manage your game activity"
7 },
8 "https://www.googleapis.com/auth/plus.login": {
9 "description": "Know your basic profile info and list of peo ple in your circles."
10 }
11 }
12 }
13 },
14 "basePath": "/games/v1management/",
15 "baseUrl": "https://www.googleapis.com/games/v1management/",
16 "batchPath": "batch",
17 "canonicalName": "Games Management",
18 "description": "The Management API for Google Play Game Services.",
19 "discoveryVersion": "v1",
20 "documentationLink": "https://developers.google.com/games/services",
21 "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/j6bIxSGy0DvVu81vCWQfkHkrm9A\"",
22 "icons": {
23 "x16": "http://www.google.com/images/icons/product/search-16.gif",
24 "x32": "http://www.google.com/images/icons/product/search-32.gif"
25 },
26 "id": "gamesManagement:v1management",
27 "kind": "discovery#restDescription",
28 "name": "gamesManagement",
29 "ownerDomain": "google.com",
30 "ownerName": "Google",
31 "parameters": {
32 "alt": {
33 "default": "json",
34 "description": "Data format for the response.",
35 "enum": [
36 "json"
37 ],
38 "enumDescriptions": [
39 "Responses with Content-Type of application/json"
40 ],
41 "location": "query",
42 "type": "string"
43 },
44 "fields": {
45 "description": "Selector specifying which fields to include in a par tial response.",
46 "location": "query",
47 "type": "string"
48 },
49 "key": {
50 "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.",
51 "location": "query",
52 "type": "string"
53 },
54 "oauth_token": {
55 "description": "OAuth 2.0 token for the current user.",
56 "location": "query",
57 "type": "string"
58 },
59 "prettyPrint": {
60 "default": "true",
61 "description": "Returns response with indentations and line breaks." ,
62 "location": "query",
63 "type": "boolean"
64 },
65 "quotaUser": {
66 "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.",
67 "location": "query",
68 "type": "string"
69 },
70 "userIp": {
71 "description": "IP address of the site where the request originates. Use this if you want to enforce per-user limits.",
72 "location": "query",
73 "type": "string"
74 }
75 },
76 "protocol": "rest",
77 "resources": {
78 "achievements": {
79 "methods": {
80 "reset": {
81 "description": "Resets the achievement with the given ID for the currently authenticated player. This method is only accessible to whitelist ed tester accounts for your application.",
82 "httpMethod": "POST",
83 "id": "gamesManagement.achievements.reset",
84 "parameterOrder": [
85 "achievementId"
86 ],
87 "parameters": {
88 "achievementId": {
89 "description": "The ID of the achievement used by th is method.",
90 "location": "path",
91 "required": true,
92 "type": "string"
93 }
94 },
95 "path": "achievements/{achievementId}/reset",
96 "response": {
97 "$ref": "AchievementResetResponse"
98 },
99 "scopes": [
100 "https://www.googleapis.com/auth/games",
101 "https://www.googleapis.com/auth/plus.login"
102 ]
103 },
104 "resetAll": {
105 "description": "Resets all achievements for the currently au thenticated player for your application. This method is only accessible to white listed tester accounts for your application.",
106 "httpMethod": "POST",
107 "id": "gamesManagement.achievements.resetAll",
108 "path": "achievements/reset",
109 "response": {
110 "$ref": "AchievementResetAllResponse"
111 },
112 "scopes": [
113 "https://www.googleapis.com/auth/games",
114 "https://www.googleapis.com/auth/plus.login"
115 ]
116 },
117 "resetForAllPlayers": {
118 "description": "Resets the achievement with the given ID for the all players. This method is only available to user accounts for your develo per console. Only draft achievements can be reset.",
119 "httpMethod": "POST",
120 "id": "gamesManagement.achievements.resetForAllPlayers",
121 "parameterOrder": [
122 "achievementId"
123 ],
124 "parameters": {
125 "achievementId": {
126 "description": "The ID of the achievement used by th is method.",
127 "location": "path",
128 "required": true,
129 "type": "string"
130 }
131 },
132 "path": "achievements/{achievementId}/resetForAllPlayers",
133 "scopes": [
134 "https://www.googleapis.com/auth/games",
135 "https://www.googleapis.com/auth/plus.login"
136 ]
137 }
138 }
139 },
140 "applications": {
141 "methods": {
142 "listHidden": {
143 "description": "Get the list of players hidden from the give n application. This method is only available to user accounts for your developer console.",
144 "httpMethod": "GET",
145 "id": "gamesManagement.applications.listHidden",
146 "parameterOrder": [
147 "applicationId"
148 ],
149 "parameters": {
150 "applicationId": {
151 "description": "The application being requested.",
152 "location": "path",
153 "required": true,
154 "type": "string"
155 },
156 "maxResults": {
157 "description": "The maximum number of player resourc es to return in the response, used for paging. For any response, the actual numb er of player resources returned may be less than the specified maxResults.",
158 "format": "int32",
159 "location": "query",
160 "maximum": "15",
161 "minimum": "1",
162 "type": "integer"
163 },
164 "pageToken": {
165 "description": "The token returned by the previous r equest.",
166 "location": "query",
167 "type": "string"
168 }
169 },
170 "path": "applications/{applicationId}/players/hidden",
171 "response": {
172 "$ref": "HiddenPlayerList"
173 },
174 "scopes": [
175 "https://www.googleapis.com/auth/games",
176 "https://www.googleapis.com/auth/plus.login"
177 ]
178 }
179 }
180 },
181 "events": {
182 "methods": {
183 "reset": {
184 "description": "Reset all player progress on the event for t he currently authenticated player. This method is only accessible to whitelisted tester accounts for your application. All resources that use the event will als o be reset.",
185 "httpMethod": "POST",
186 "id": "gamesManagement.events.reset",
187 "parameterOrder": [
188 "eventId"
189 ],
190 "parameters": {
191 "eventId": {
192 "description": "The ID of the event.",
193 "location": "path",
194 "required": true,
195 "type": "string"
196 }
197 },
198 "path": "events/{eventId}/reset",
199 "scopes": [
200 "https://www.googleapis.com/auth/games",
201 "https://www.googleapis.com/auth/plus.login"
202 ]
203 },
204 "resetAll": {
205 "description": "Reset all player progress on all unpublished events for the currently authenticated player. This method is only accessible t o whitelisted tester accounts for your application. All resources that use the e vents will also be reset.",
206 "httpMethod": "POST",
207 "id": "gamesManagement.events.resetAll",
208 "path": "events/reset",
209 "scopes": [
210 "https://www.googleapis.com/auth/games",
211 "https://www.googleapis.com/auth/plus.login"
212 ]
213 },
214 "resetForAllPlayers": {
215 "description": "Reset all player progress on the event for a ll players. This method is only available to user accounts for your developer co nsole. Only draft events can be reset. All resources that use the event will als o be reset.",
216 "httpMethod": "POST",
217 "id": "gamesManagement.events.resetForAllPlayers",
218 "parameterOrder": [
219 "eventId"
220 ],
221 "parameters": {
222 "eventId": {
223 "description": "The ID of the event.",
224 "location": "path",
225 "required": true,
226 "type": "string"
227 }
228 },
229 "path": "events/{eventId}/resetForAllPlayers",
230 "scopes": [
231 "https://www.googleapis.com/auth/games",
232 "https://www.googleapis.com/auth/plus.login"
233 ]
234 }
235 }
236 },
237 "players": {
238 "methods": {
239 "hide": {
240 "description": "Hide the given player's leaderboard scores f rom the given application. This method is only available to user accounts for yo ur developer console.",
241 "httpMethod": "POST",
242 "id": "gamesManagement.players.hide",
243 "parameterOrder": [
244 "applicationId",
245 "playerId"
246 ],
247 "parameters": {
248 "applicationId": {
249 "description": "The application being requested.",
250 "location": "path",
251 "required": true,
252 "type": "string"
253 },
254 "playerId": {
255 "description": "A player ID. A value of me may be us ed in place of the authenticated player's ID.",
256 "location": "path",
257 "required": true,
258 "type": "string"
259 }
260 },
261 "path": "applications/{applicationId}/players/hidden/{player Id}",
262 "scopes": [
263 "https://www.googleapis.com/auth/games",
264 "https://www.googleapis.com/auth/plus.login"
265 ]
266 },
267 "unhide": {
268 "description": "Unhide the given player's leaderboard scores from the given application. This method is only available to user accounts for your developer console.",
269 "httpMethod": "DELETE",
270 "id": "gamesManagement.players.unhide",
271 "parameterOrder": [
272 "applicationId",
273 "playerId"
274 ],
275 "parameters": {
276 "applicationId": {
277 "description": "The application being requested.",
278 "location": "path",
279 "required": true,
280 "type": "string"
281 },
282 "playerId": {
283 "description": "A player ID. A value of me may be us ed in place of the authenticated player's ID.",
284 "location": "path",
285 "required": true,
286 "type": "string"
287 }
288 },
289 "path": "applications/{applicationId}/players/hidden/{player Id}",
290 "scopes": [
291 "https://www.googleapis.com/auth/games",
292 "https://www.googleapis.com/auth/plus.login"
293 ]
294 }
295 }
296 },
297 "quests": {
298 "methods": {
299 "reset": {
300 "description": "Reset all player progress on the quest for t he currently authenticated player. This method is only accessible to whitelisted tester accounts for your application.",
301 "httpMethod": "POST",
302 "id": "gamesManagement.quests.reset",
303 "parameterOrder": [
304 "questId"
305 ],
306 "parameters": {
307 "questId": {
308 "description": "The ID of the quest.",
309 "location": "path",
310 "required": true,
311 "type": "string"
312 }
313 },
314 "path": "quests/{questId}/reset",
315 "scopes": [
316 "https://www.googleapis.com/auth/games",
317 "https://www.googleapis.com/auth/plus.login"
318 ]
319 }
320 }
321 },
322 "rooms": {
323 "methods": {
324 "reset": {
325 "description": "Reset all rooms for the currently authentica ted player for your application. This method is only accessible to whitelisted t ester accounts for your application.",
326 "httpMethod": "POST",
327 "id": "gamesManagement.rooms.reset",
328 "path": "rooms/reset",
329 "scopes": [
330 "https://www.googleapis.com/auth/games",
331 "https://www.googleapis.com/auth/plus.login"
332 ]
333 }
334 }
335 },
336 "scores": {
337 "methods": {
338 "reset": {
339 "description": "Reset scores for the specified leaderboard f or the currently authenticated player. This method is only accessible to whiteli sted tester accounts for your application.",
340 "httpMethod": "POST",
341 "id": "gamesManagement.scores.reset",
342 "parameterOrder": [
343 "leaderboardId"
344 ],
345 "parameters": {
346 "leaderboardId": {
347 "description": "The ID of the leaderboard.",
348 "location": "path",
349 "required": true,
350 "type": "string"
351 }
352 },
353 "path": "leaderboards/{leaderboardId}/scores/reset",
354 "response": {
355 "$ref": "PlayerScoreResetResponse"
356 },
357 "scopes": [
358 "https://www.googleapis.com/auth/games",
359 "https://www.googleapis.com/auth/plus.login"
360 ]
361 },
362 "resetForAllPlayers": {
363 "description": "Reset scores for the specified leaderboard f or all players. This method is only available to user accounts for your develope r console. Only draft leaderboards can be reset.",
364 "httpMethod": "POST",
365 "id": "gamesManagement.scores.resetForAllPlayers",
366 "parameterOrder": [
367 "leaderboardId"
368 ],
369 "parameters": {
370 "leaderboardId": {
371 "description": "The ID of the leaderboard.",
372 "location": "path",
373 "required": true,
374 "type": "string"
375 }
376 },
377 "path": "leaderboards/{leaderboardId}/scores/resetForAllPlay ers",
378 "scopes": [
379 "https://www.googleapis.com/auth/games",
380 "https://www.googleapis.com/auth/plus.login"
381 ]
382 }
383 }
384 },
385 "turnBasedMatches": {
386 "methods": {
387 "reset": {
388 "description": "Reset all turn-based match data for a user. This method is only accessible to whitelisted tester accounts for your applicati on.",
389 "httpMethod": "POST",
390 "id": "gamesManagement.turnBasedMatches.reset",
391 "path": "turnbasedmatches/reset",
392 "scopes": [
393 "https://www.googleapis.com/auth/games",
394 "https://www.googleapis.com/auth/plus.login"
395 ]
396 }
397 }
398 }
399 },
400 "revision": "20140903",
401 "rootUrl": "https://www.googleapis.com/",
402 "schemas": {
403 "AchievementResetAllResponse": {
404 "description": "This is a JSON template for achievement reset all re sponse.",
405 "id": "AchievementResetAllResponse",
406 "properties": {
407 "kind": {
408 "default": "gamesManagement#achievementResetAllResponse",
409 "description": "Uniquely identifies the type of this resourc e. Value is always the fixed string gamesManagement#achievementResetAllResponse. ",
410 "type": "string"
411 },
412 "results": {
413 "description": "The achievement reset results.",
414 "items": {
415 "$ref": "AchievementResetResponse"
416 },
417 "type": "array"
418 }
419 },
420 "type": "object"
421 },
422 "AchievementResetResponse": {
423 "description": "This is a JSON template for an achievement reset res ponse.",
424 "id": "AchievementResetResponse",
425 "properties": {
426 "currentState": {
427 "description": "The current state of the achievement. This i s the same as the initial state of the achievement.\nPossible values are: \n- \ "HIDDEN\"- Achievement is hidden. \n- \"REVEALED\" - Achievement is revealed. \n - \"UNLOCKED\" - Achievement is unlocked.",
428 "type": "string"
429 },
430 "definitionId": {
431 "description": "The ID of an achievement for which player st ate has been updated.",
432 "type": "string"
433 },
434 "kind": {
435 "default": "gamesManagement#achievementResetResponse",
436 "description": "Uniquely identifies the type of this resourc e. Value is always the fixed string gamesManagement#achievementResetResponse.",
437 "type": "string"
438 },
439 "updateOccurred": {
440 "description": "Flag to indicate if the requested update act ually occurred.",
441 "type": "boolean"
442 }
443 },
444 "type": "object"
445 },
446 "GamesPlayedResource": {
447 "description": "This is a JSON template for metadata about a player playing a game with the currently authenticated user.",
448 "id": "GamesPlayedResource",
449 "properties": {
450 "autoMatched": {
451 "description": "True if the player was auto-matched with the currently authenticated user.",
452 "type": "boolean"
453 },
454 "timeMillis": {
455 "description": "The last time the player played the game in milliseconds since the epoch in UTC.",
456 "format": "int64",
457 "type": "string"
458 }
459 },
460 "type": "object"
461 },
462 "GamesPlayerExperienceInfoResource": {
463 "description": "This is a JSON template for 1P/3P metadata about the player's experience.",
464 "id": "GamesPlayerExperienceInfoResource",
465 "properties": {
466 "currentExperiencePoints": {
467 "description": "The current number of experience points for the player.",
468 "format": "int64",
469 "type": "string"
470 },
471 "currentLevel": {
472 "$ref": "GamesPlayerLevelResource",
473 "description": "The current level of the player."
474 },
475 "lastLevelUpTimestampMillis": {
476 "description": "The timestamp when the player was leveled up , in millis since Unix epoch UTC.",
477 "format": "int64",
478 "type": "string"
479 },
480 "nextLevel": {
481 "$ref": "GamesPlayerLevelResource",
482 "description": "The next level of the player. If the current level is the maximum level, this should be same as the current level."
483 }
484 },
485 "type": "object"
486 },
487 "GamesPlayerLevelResource": {
488 "description": "This is a JSON template for 1P/3P metadata about a u ser's level.",
489 "id": "GamesPlayerLevelResource",
490 "properties": {
491 "level": {
492 "description": "The level for the user.",
493 "format": "int32",
494 "type": "integer"
495 },
496 "maxExperiencePoints": {
497 "description": "The maximum experience points for this level .",
498 "format": "int64",
499 "type": "string"
500 },
501 "minExperiencePoints": {
502 "description": "The minimum experience points for this level .",
503 "format": "int64",
504 "type": "string"
505 }
506 },
507 "type": "object"
508 },
509 "HiddenPlayer": {
510 "description": "This is a JSON template for the HiddenPlayer resourc e.",
511 "id": "HiddenPlayer",
512 "properties": {
513 "hiddenTimeMillis": {
514 "description": "The time this player was hidden.",
515 "format": "int64",
516 "type": "string"
517 },
518 "kind": {
519 "default": "gamesManagement#hiddenPlayer",
520 "description": "Uniquely identifies the type of this resourc e. Value is always the fixed string gamesManagement#hiddenPlayer.",
521 "type": "string"
522 },
523 "player": {
524 "$ref": "Player",
525 "description": "The player information."
526 }
527 },
528 "type": "object"
529 },
530 "HiddenPlayerList": {
531 "description": "This is a JSON template for a list of hidden players .",
532 "id": "HiddenPlayerList",
533 "properties": {
534 "items": {
535 "description": "The players.",
536 "items": {
537 "$ref": "HiddenPlayer"
538 },
539 "type": "array"
540 },
541 "kind": {
542 "default": "gamesManagement#hiddenPlayerList",
543 "description": "Uniquely identifies the type of this resourc e. Value is always the fixed string gamesManagement#hiddenPlayerList.",
544 "type": "string"
545 },
546 "nextPageToken": {
547 "description": "The pagination token for the next page of re sults.",
548 "type": "string"
549 }
550 },
551 "type": "object"
552 },
553 "Player": {
554 "description": "This is a JSON template for a Player resource.",
555 "id": "Player",
556 "properties": {
557 "avatarImageUrl": {
558 "description": "The base URL for the image that represents t he player.",
559 "type": "string"
560 },
561 "displayName": {
562 "description": "The name to display for the player.",
563 "type": "string"
564 },
565 "experienceInfo": {
566 "$ref": "GamesPlayerExperienceInfoResource",
567 "description": "An object to represent Play Game experience information for the player."
568 },
569 "kind": {
570 "default": "gamesManagement#player",
571 "description": "Uniquely identifies the type of this resourc e. Value is always the fixed string gamesManagement#player.",
572 "type": "string"
573 },
574 "lastPlayedWith": {
575 "$ref": "GamesPlayedResource",
576 "description": "Details about the last time this player play ed a multiplayer game with the currently authenticated player. Populated for PLA YED_WITH player collection members."
577 },
578 "name": {
579 "description": "An object representation of the individual c omponents of the player's name. For some players, these fields may not be presen t.",
580 "properties": {
581 "familyName": {
582 "description": "The family name of this player. In s ome places, this is known as the last name.",
583 "type": "string"
584 },
585 "givenName": {
586 "description": "The given name of this player. In so me places, this is known as the first name.",
587 "type": "string"
588 }
589 },
590 "type": "object"
591 },
592 "playerId": {
593 "description": "The ID of the player.",
594 "type": "string"
595 },
596 "title": {
597 "description": "The player's title rewarded for their game a ctivities.",
598 "type": "string"
599 }
600 },
601 "type": "object"
602 },
603 "PlayerScoreResetResponse": {
604 "description": "This is a JSON template for a list of reset leaderbo ard entry resources.",
605 "id": "PlayerScoreResetResponse",
606 "properties": {
607 "kind": {
608 "default": "gamesManagement#playerScoreResetResponse",
609 "description": "Uniquely identifies the type of this resourc e. Value is always the fixed string gamesManagement#playerScoreResetResponse.",
610 "type": "string"
611 },
612 "resetScoreTimeSpans": {
613 "description": "The time spans of the updated score.\nPossib le values are: \n- \"ALL_TIME\" - The score is an all-time score. \n- \"WEEKLY\ " - The score is a weekly score. \n- \"DAILY\" - The score is a daily score.",
614 "items": {
615 "type": "string"
616 },
617 "type": "array"
618 }
619 },
620 "type": "object"
621 }
622 },
623 "servicePath": "games/v1management/",
624 "title": "Google Play Game Services Management API",
625 "version": "v1management"
626 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698