OLD | NEW |
1 { | 1 { |
2 "auth": { | 2 "auth": { |
3 "oauth2": { | 3 "oauth2": { |
4 "scopes": { | 4 "scopes": { |
5 "https://www.googleapis.com/auth/games": { | 5 "https://www.googleapis.com/auth/games": { |
6 "description": "Share your Google+ profile information and v
iew and manage your game activity" | 6 "description": "Share your Google+ profile information and v
iew and manage your game activity" |
7 }, | 7 }, |
8 "https://www.googleapis.com/auth/plus.login": { | 8 "https://www.googleapis.com/auth/plus.login": { |
9 "description": "Know your basic profile info and list of peo
ple in your circles." | 9 "description": "Know your basic profile info and list of peo
ple in your circles." |
10 } | 10 } |
11 } | 11 } |
12 } | 12 } |
13 }, | 13 }, |
14 "basePath": "/games/v1management/", | 14 "basePath": "/games/v1management/", |
15 "baseUrl": "https://www.googleapis.com/games/v1management/", | 15 "baseUrl": "https://www.googleapis.com/games/v1management/", |
16 "batchPath": "batch", | 16 "batchPath": "batch", |
17 "canonicalName": "Games Management", | 17 "canonicalName": "Games Management", |
18 "description": "The Management API for Google Play Game Services.", | 18 "description": "The Management API for Google Play Game Services.", |
19 "discoveryVersion": "v1", | 19 "discoveryVersion": "v1", |
20 "documentationLink": "https://developers.google.com/games/services", | 20 "documentationLink": "https://developers.google.com/games/services", |
21 "etag": "\"l66ggWbucbkBw9Lpos72oziyefE/x8CnK19Ndg5iWRWLYO9YWdv4nv8\"", | 21 "etag": "\"l66ggWbucbkBw9Lpos72oziyefE/ALEOgTRjwoG6Pt_odEoBpzX-DtI\"", |
22 "icons": { | 22 "icons": { |
23 "x16": "http://www.google.com/images/icons/product/search-16.gif", | 23 "x16": "http://www.google.com/images/icons/product/search-16.gif", |
24 "x32": "http://www.google.com/images/icons/product/search-32.gif" | 24 "x32": "http://www.google.com/images/icons/product/search-32.gif" |
25 }, | 25 }, |
26 "id": "gamesManagement:v1management", | 26 "id": "gamesManagement:v1management", |
27 "kind": "discovery#restDescription", | 27 "kind": "discovery#restDescription", |
28 "name": "gamesManagement", | 28 "name": "gamesManagement", |
29 "ownerDomain": "google.com", | 29 "ownerDomain": "google.com", |
30 "ownerName": "Google", | 30 "ownerName": "Google", |
31 "parameters": { | 31 "parameters": { |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
139 "type": "string" | 139 "type": "string" |
140 } | 140 } |
141 }, | 141 }, |
142 "path": "achievements/{achievementId}/resetForAllPlayers", | 142 "path": "achievements/{achievementId}/resetForAllPlayers", |
143 "scopes": [ | 143 "scopes": [ |
144 "https://www.googleapis.com/auth/games", | 144 "https://www.googleapis.com/auth/games", |
145 "https://www.googleapis.com/auth/plus.login" | 145 "https://www.googleapis.com/auth/plus.login" |
146 ] | 146 ] |
147 }, | 147 }, |
148 "resetMultipleForAllPlayers": { | 148 "resetMultipleForAllPlayers": { |
149 "description": "Resets the achievement with the given IDs fo
r all players. This method is only available to user accounts for your developer
console. Only draft achievements may be reset.", | 149 "description": "Resets achievements with the given IDs for a
ll players. This method is only available to user accounts for your developer co
nsole. Only draft achievements may be reset.", |
150 "httpMethod": "POST", | 150 "httpMethod": "POST", |
151 "id": "gamesManagement.achievements.resetMultipleForAllPlaye
rs", | 151 "id": "gamesManagement.achievements.resetMultipleForAllPlaye
rs", |
152 "path": "achievements/resetMultipleForAllPlayers", | 152 "path": "achievements/resetMultipleForAllPlayers", |
153 "request": { | 153 "request": { |
154 "$ref": "AchievementResetMultipleForAllRequest" | 154 "$ref": "AchievementResetMultipleForAllRequest" |
155 }, | 155 }, |
156 "scopes": [ | 156 "scopes": [ |
157 "https://www.googleapis.com/auth/games", | 157 "https://www.googleapis.com/auth/games", |
158 "https://www.googleapis.com/auth/plus.login" | 158 "https://www.googleapis.com/auth/plus.login" |
159 ] | 159 ] |
160 } | 160 } |
161 } | 161 } |
162 }, | 162 }, |
163 "applications": { | 163 "applications": { |
164 "methods": { | 164 "methods": { |
165 "listHidden": { | 165 "listHidden": { |
166 "description": "Get the list of players hidden from the give
n application. This method is only available to user accounts for your developer
console.", | 166 "description": "Get the list of players hidden from the give
n application. This method is only available to user accounts for your developer
console.", |
167 "httpMethod": "GET", | 167 "httpMethod": "GET", |
168 "id": "gamesManagement.applications.listHidden", | 168 "id": "gamesManagement.applications.listHidden", |
169 "parameterOrder": [ | 169 "parameterOrder": [ |
170 "applicationId" | 170 "applicationId" |
171 ], | 171 ], |
172 "parameters": { | 172 "parameters": { |
173 "applicationId": { | 173 "applicationId": { |
174 "description": "The application being requested.", | 174 "description": "The application ID from the Google P
lay developer console.", |
175 "location": "path", | 175 "location": "path", |
176 "required": true, | 176 "required": true, |
177 "type": "string" | 177 "type": "string" |
178 }, | 178 }, |
179 "maxResults": { | 179 "maxResults": { |
180 "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.", | 180 "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.", |
181 "format": "int32", | 181 "format": "int32", |
182 "location": "query", | 182 "location": "query", |
183 "maximum": "15", | 183 "maximum": "15", |
184 "minimum": "1", | 184 "minimum": "1", |
(...skipping 12 matching lines...) Expand all Loading... |
197 "scopes": [ | 197 "scopes": [ |
198 "https://www.googleapis.com/auth/games", | 198 "https://www.googleapis.com/auth/games", |
199 "https://www.googleapis.com/auth/plus.login" | 199 "https://www.googleapis.com/auth/plus.login" |
200 ] | 200 ] |
201 } | 201 } |
202 } | 202 } |
203 }, | 203 }, |
204 "events": { | 204 "events": { |
205 "methods": { | 205 "methods": { |
206 "reset": { | 206 "reset": { |
207 "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.", | 207 "description": "Resets all player progress on the event with
the given ID for the currently authenticated player. This method is only access
ible to whitelisted tester accounts for your application. All quests for this pl
ayer that use the event will also be reset.", |
208 "httpMethod": "POST", | 208 "httpMethod": "POST", |
209 "id": "gamesManagement.events.reset", | 209 "id": "gamesManagement.events.reset", |
210 "parameterOrder": [ | 210 "parameterOrder": [ |
211 "eventId" | 211 "eventId" |
212 ], | 212 ], |
213 "parameters": { | 213 "parameters": { |
214 "eventId": { | 214 "eventId": { |
215 "description": "The ID of the event.", | 215 "description": "The ID of the event.", |
216 "location": "path", | 216 "location": "path", |
217 "required": true, | 217 "required": true, |
218 "type": "string" | 218 "type": "string" |
219 } | 219 } |
220 }, | 220 }, |
221 "path": "events/{eventId}/reset", | 221 "path": "events/{eventId}/reset", |
222 "scopes": [ | 222 "scopes": [ |
223 "https://www.googleapis.com/auth/games", | 223 "https://www.googleapis.com/auth/games", |
224 "https://www.googleapis.com/auth/plus.login" | 224 "https://www.googleapis.com/auth/plus.login" |
225 ] | 225 ] |
226 }, | 226 }, |
227 "resetAll": { | 227 "resetAll": { |
228 "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.", | 228 "description": "Resets all player progress on all events for
the currently authenticated player. This method is only accessible to whitelist
ed tester accounts for your application. All quests for this player will also be
reset.", |
229 "httpMethod": "POST", | 229 "httpMethod": "POST", |
230 "id": "gamesManagement.events.resetAll", | 230 "id": "gamesManagement.events.resetAll", |
231 "path": "events/reset", | 231 "path": "events/reset", |
232 "scopes": [ | 232 "scopes": [ |
233 "https://www.googleapis.com/auth/games", | 233 "https://www.googleapis.com/auth/games", |
234 "https://www.googleapis.com/auth/plus.login" | 234 "https://www.googleapis.com/auth/plus.login" |
235 ] | 235 ] |
236 }, | 236 }, |
| 237 "resetAllForAllPlayers": { |
| 238 "description": "Resets all draft events for all players. Thi
s method is only available to user accounts for your developer console. All ques
ts that use any of these events will also be reset.", |
| 239 "httpMethod": "POST", |
| 240 "id": "gamesManagement.events.resetAllForAllPlayers", |
| 241 "path": "events/resetAllForAllPlayers", |
| 242 "scopes": [ |
| 243 "https://www.googleapis.com/auth/games", |
| 244 "https://www.googleapis.com/auth/plus.login" |
| 245 ] |
| 246 }, |
237 "resetForAllPlayers": { | 247 "resetForAllPlayers": { |
238 "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.", | 248 "description": "Resets the event with the given ID for all p
layers. This method is only available to user accounts for your developer consol
e. Only draft events can be reset. All quests that use the event will also be re
set.", |
239 "httpMethod": "POST", | 249 "httpMethod": "POST", |
240 "id": "gamesManagement.events.resetForAllPlayers", | 250 "id": "gamesManagement.events.resetForAllPlayers", |
241 "parameterOrder": [ | 251 "parameterOrder": [ |
242 "eventId" | 252 "eventId" |
243 ], | 253 ], |
244 "parameters": { | 254 "parameters": { |
245 "eventId": { | 255 "eventId": { |
246 "description": "The ID of the event.", | 256 "description": "The ID of the event.", |
247 "location": "path", | 257 "location": "path", |
248 "required": true, | 258 "required": true, |
249 "type": "string" | 259 "type": "string" |
250 } | 260 } |
251 }, | 261 }, |
252 "path": "events/{eventId}/resetForAllPlayers", | 262 "path": "events/{eventId}/resetForAllPlayers", |
253 "scopes": [ | 263 "scopes": [ |
254 "https://www.googleapis.com/auth/games", | 264 "https://www.googleapis.com/auth/games", |
255 "https://www.googleapis.com/auth/plus.login" | 265 "https://www.googleapis.com/auth/plus.login" |
256 ] | 266 ] |
| 267 }, |
| 268 "resetMultipleForAllPlayers": { |
| 269 "description": "Resets events with the given IDs for all pla
yers. This method is only available to user accounts for your developer console.
Only draft events may be reset. All quests that use any of the events will also
be reset.", |
| 270 "httpMethod": "POST", |
| 271 "id": "gamesManagement.events.resetMultipleForAllPlayers", |
| 272 "path": "events/resetMultipleForAllPlayers", |
| 273 "request": { |
| 274 "$ref": "EventsResetMultipleForAllRequest" |
| 275 }, |
| 276 "scopes": [ |
| 277 "https://www.googleapis.com/auth/games", |
| 278 "https://www.googleapis.com/auth/plus.login" |
| 279 ] |
257 } | 280 } |
258 } | 281 } |
259 }, | 282 }, |
260 "players": { | 283 "players": { |
261 "methods": { | 284 "methods": { |
262 "hide": { | 285 "hide": { |
263 "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.", | 286 "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.", |
264 "httpMethod": "POST", | 287 "httpMethod": "POST", |
265 "id": "gamesManagement.players.hide", | 288 "id": "gamesManagement.players.hide", |
266 "parameterOrder": [ | 289 "parameterOrder": [ |
267 "applicationId", | 290 "applicationId", |
268 "playerId" | 291 "playerId" |
269 ], | 292 ], |
270 "parameters": { | 293 "parameters": { |
271 "applicationId": { | 294 "applicationId": { |
272 "description": "The application being requested.", | 295 "description": "The application ID from the Google P
lay developer console.", |
273 "location": "path", | 296 "location": "path", |
274 "required": true, | 297 "required": true, |
275 "type": "string" | 298 "type": "string" |
276 }, | 299 }, |
277 "playerId": { | 300 "playerId": { |
278 "description": "A player ID. A value of me may be us
ed in place of the authenticated player's ID.", | 301 "description": "A player ID. A value of me may be us
ed in place of the authenticated player's ID.", |
279 "location": "path", | 302 "location": "path", |
280 "required": true, | 303 "required": true, |
281 "type": "string" | 304 "type": "string" |
282 } | 305 } |
283 }, | 306 }, |
284 "path": "applications/{applicationId}/players/hidden/{player
Id}", | 307 "path": "applications/{applicationId}/players/hidden/{player
Id}", |
285 "scopes": [ | 308 "scopes": [ |
286 "https://www.googleapis.com/auth/games", | 309 "https://www.googleapis.com/auth/games", |
287 "https://www.googleapis.com/auth/plus.login" | 310 "https://www.googleapis.com/auth/plus.login" |
288 ] | 311 ] |
289 }, | 312 }, |
290 "unhide": { | 313 "unhide": { |
291 "description": "Unhide the given player's leaderboard scores
from the given application. This method is only available to user accounts for
your developer console.", | 314 "description": "Unhide the given player's leaderboard scores
from the given application. This method is only available to user accounts for
your developer console.", |
292 "httpMethod": "DELETE", | 315 "httpMethod": "DELETE", |
293 "id": "gamesManagement.players.unhide", | 316 "id": "gamesManagement.players.unhide", |
294 "parameterOrder": [ | 317 "parameterOrder": [ |
295 "applicationId", | 318 "applicationId", |
296 "playerId" | 319 "playerId" |
297 ], | 320 ], |
298 "parameters": { | 321 "parameters": { |
299 "applicationId": { | 322 "applicationId": { |
300 "description": "The application being requested.", | 323 "description": "The application ID from the Google P
lay developer console.", |
301 "location": "path", | 324 "location": "path", |
302 "required": true, | 325 "required": true, |
303 "type": "string" | 326 "type": "string" |
304 }, | 327 }, |
305 "playerId": { | 328 "playerId": { |
306 "description": "A player ID. A value of me may be us
ed in place of the authenticated player's ID.", | 329 "description": "A player ID. A value of me may be us
ed in place of the authenticated player's ID.", |
307 "location": "path", | 330 "location": "path", |
308 "required": true, | 331 "required": true, |
309 "type": "string" | 332 "type": "string" |
310 } | 333 } |
311 }, | 334 }, |
312 "path": "applications/{applicationId}/players/hidden/{player
Id}", | 335 "path": "applications/{applicationId}/players/hidden/{player
Id}", |
313 "scopes": [ | 336 "scopes": [ |
314 "https://www.googleapis.com/auth/games", | 337 "https://www.googleapis.com/auth/games", |
315 "https://www.googleapis.com/auth/plus.login" | 338 "https://www.googleapis.com/auth/plus.login" |
316 ] | 339 ] |
317 } | 340 } |
318 } | 341 } |
319 }, | 342 }, |
320 "quests": { | 343 "quests": { |
321 "methods": { | 344 "methods": { |
322 "reset": { | 345 "reset": { |
323 "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.", | 346 "description": "Resets all player progress on the quest with
the given ID for the currently authenticated player. This method is only access
ible to whitelisted tester accounts for your application.", |
324 "httpMethod": "POST", | 347 "httpMethod": "POST", |
325 "id": "gamesManagement.quests.reset", | 348 "id": "gamesManagement.quests.reset", |
326 "parameterOrder": [ | 349 "parameterOrder": [ |
327 "questId" | 350 "questId" |
328 ], | 351 ], |
329 "parameters": { | 352 "parameters": { |
330 "questId": { | 353 "questId": { |
331 "description": "The ID of the quest.", | 354 "description": "The ID of the quest.", |
332 "location": "path", | 355 "location": "path", |
333 "required": true, | 356 "required": true, |
334 "type": "string" | 357 "type": "string" |
335 } | 358 } |
336 }, | 359 }, |
337 "path": "quests/{questId}/reset", | 360 "path": "quests/{questId}/reset", |
338 "scopes": [ | 361 "scopes": [ |
339 "https://www.googleapis.com/auth/games", | 362 "https://www.googleapis.com/auth/games", |
340 "https://www.googleapis.com/auth/plus.login" | 363 "https://www.googleapis.com/auth/plus.login" |
341 ] | 364 ] |
| 365 }, |
| 366 "resetAll": { |
| 367 "description": "Resets all player progress on all quests for
the currently authenticated player. This method is only accessible to whitelist
ed tester accounts for your application.", |
| 368 "httpMethod": "POST", |
| 369 "id": "gamesManagement.quests.resetAll", |
| 370 "path": "quests/reset", |
| 371 "scopes": [ |
| 372 "https://www.googleapis.com/auth/games", |
| 373 "https://www.googleapis.com/auth/plus.login" |
| 374 ] |
| 375 }, |
| 376 "resetAllForAllPlayers": { |
| 377 "description": "Resets all draft quests for all players. Thi
s method is only available to user accounts for your developer console.", |
| 378 "httpMethod": "POST", |
| 379 "id": "gamesManagement.quests.resetAllForAllPlayers", |
| 380 "path": "quests/resetAllForAllPlayers", |
| 381 "scopes": [ |
| 382 "https://www.googleapis.com/auth/games", |
| 383 "https://www.googleapis.com/auth/plus.login" |
| 384 ] |
| 385 }, |
| 386 "resetForAllPlayers": { |
| 387 "description": "Resets all player progress on the quest with
the given ID for all players. This method is only available to user accounts fo
r your developer console. Only draft quests can be reset.", |
| 388 "httpMethod": "POST", |
| 389 "id": "gamesManagement.quests.resetForAllPlayers", |
| 390 "parameterOrder": [ |
| 391 "questId" |
| 392 ], |
| 393 "parameters": { |
| 394 "questId": { |
| 395 "description": "The ID of the quest.", |
| 396 "location": "path", |
| 397 "required": true, |
| 398 "type": "string" |
| 399 } |
| 400 }, |
| 401 "path": "quests/{questId}/resetForAllPlayers", |
| 402 "scopes": [ |
| 403 "https://www.googleapis.com/auth/games", |
| 404 "https://www.googleapis.com/auth/plus.login" |
| 405 ] |
| 406 }, |
| 407 "resetMultipleForAllPlayers": { |
| 408 "description": "Resets quests with the given IDs for all pla
yers. This method is only available to user accounts for your developer console.
Only draft quests may be reset.", |
| 409 "httpMethod": "POST", |
| 410 "id": "gamesManagement.quests.resetMultipleForAllPlayers", |
| 411 "path": "quests/resetMultipleForAllPlayers", |
| 412 "request": { |
| 413 "$ref": "QuestsResetMultipleForAllRequest" |
| 414 }, |
| 415 "scopes": [ |
| 416 "https://www.googleapis.com/auth/games", |
| 417 "https://www.googleapis.com/auth/plus.login" |
| 418 ] |
342 } | 419 } |
343 } | 420 } |
344 }, | 421 }, |
345 "rooms": { | 422 "rooms": { |
346 "methods": { | 423 "methods": { |
347 "reset": { | 424 "reset": { |
348 "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.", | 425 "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.", |
349 "httpMethod": "POST", | 426 "httpMethod": "POST", |
350 "id": "gamesManagement.rooms.reset", | 427 "id": "gamesManagement.rooms.reset", |
351 "path": "rooms/reset", | 428 "path": "rooms/reset", |
352 "scopes": [ | 429 "scopes": [ |
353 "https://www.googleapis.com/auth/games", | 430 "https://www.googleapis.com/auth/games", |
354 "https://www.googleapis.com/auth/plus.login" | 431 "https://www.googleapis.com/auth/plus.login" |
355 ] | 432 ] |
| 433 }, |
| 434 "resetForAllPlayers": { |
| 435 "description": "Deletes rooms where the only room participan
ts are from whitelisted tester accounts for your application. This method is onl
y available to user accounts for your developer console.", |
| 436 "httpMethod": "POST", |
| 437 "id": "gamesManagement.rooms.resetForAllPlayers", |
| 438 "path": "rooms/resetForAllPlayers", |
| 439 "scopes": [ |
| 440 "https://www.googleapis.com/auth/games", |
| 441 "https://www.googleapis.com/auth/plus.login" |
| 442 ] |
356 } | 443 } |
357 } | 444 } |
358 }, | 445 }, |
359 "scores": { | 446 "scores": { |
360 "methods": { | 447 "methods": { |
361 "reset": { | 448 "reset": { |
362 "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.", | 449 "description": "Resets scores for the leaderboard with the g
iven ID for the currently authenticated player. This method is only accessible t
o whitelisted tester accounts for your application.", |
363 "httpMethod": "POST", | 450 "httpMethod": "POST", |
364 "id": "gamesManagement.scores.reset", | 451 "id": "gamesManagement.scores.reset", |
365 "parameterOrder": [ | 452 "parameterOrder": [ |
366 "leaderboardId" | 453 "leaderboardId" |
367 ], | 454 ], |
368 "parameters": { | 455 "parameters": { |
369 "leaderboardId": { | 456 "leaderboardId": { |
370 "description": "The ID of the leaderboard.", | 457 "description": "The ID of the leaderboard.", |
371 "location": "path", | 458 "location": "path", |
372 "required": true, | 459 "required": true, |
373 "type": "string" | 460 "type": "string" |
374 } | 461 } |
375 }, | 462 }, |
376 "path": "leaderboards/{leaderboardId}/scores/reset", | 463 "path": "leaderboards/{leaderboardId}/scores/reset", |
377 "response": { | 464 "response": { |
378 "$ref": "PlayerScoreResetResponse" | 465 "$ref": "PlayerScoreResetResponse" |
379 }, | 466 }, |
380 "scopes": [ | 467 "scopes": [ |
381 "https://www.googleapis.com/auth/games", | 468 "https://www.googleapis.com/auth/games", |
382 "https://www.googleapis.com/auth/plus.login" | 469 "https://www.googleapis.com/auth/plus.login" |
383 ] | 470 ] |
384 }, | 471 }, |
| 472 "resetAll": { |
| 473 "description": "Resets all scores for all leaderboards for t
he currently authenticated players. This method is only accessible to whiteliste
d tester accounts for your application.", |
| 474 "httpMethod": "POST", |
| 475 "id": "gamesManagement.scores.resetAll", |
| 476 "path": "scores/reset", |
| 477 "response": { |
| 478 "$ref": "PlayerScoreResetAllResponse" |
| 479 }, |
| 480 "scopes": [ |
| 481 "https://www.googleapis.com/auth/games", |
| 482 "https://www.googleapis.com/auth/plus.login" |
| 483 ] |
| 484 }, |
| 485 "resetAllForAllPlayers": { |
| 486 "description": "Resets scores for all draft leaderboards for
all players. This method is only available to user accounts for your developer
console.", |
| 487 "httpMethod": "POST", |
| 488 "id": "gamesManagement.scores.resetAllForAllPlayers", |
| 489 "path": "scores/resetAllForAllPlayers", |
| 490 "scopes": [ |
| 491 "https://www.googleapis.com/auth/games", |
| 492 "https://www.googleapis.com/auth/plus.login" |
| 493 ] |
| 494 }, |
385 "resetForAllPlayers": { | 495 "resetForAllPlayers": { |
386 "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.", | 496 "description": "Resets scores for the leaderboard with the g
iven ID for all players. This method is only available to user accounts for your
developer console. Only draft leaderboards can be reset.", |
387 "httpMethod": "POST", | 497 "httpMethod": "POST", |
388 "id": "gamesManagement.scores.resetForAllPlayers", | 498 "id": "gamesManagement.scores.resetForAllPlayers", |
389 "parameterOrder": [ | 499 "parameterOrder": [ |
390 "leaderboardId" | 500 "leaderboardId" |
391 ], | 501 ], |
392 "parameters": { | 502 "parameters": { |
393 "leaderboardId": { | 503 "leaderboardId": { |
394 "description": "The ID of the leaderboard.", | 504 "description": "The ID of the leaderboard.", |
395 "location": "path", | 505 "location": "path", |
396 "required": true, | 506 "required": true, |
397 "type": "string" | 507 "type": "string" |
398 } | 508 } |
399 }, | 509 }, |
400 "path": "leaderboards/{leaderboardId}/scores/resetForAllPlay
ers", | 510 "path": "leaderboards/{leaderboardId}/scores/resetForAllPlay
ers", |
401 "scopes": [ | 511 "scopes": [ |
402 "https://www.googleapis.com/auth/games", | 512 "https://www.googleapis.com/auth/games", |
403 "https://www.googleapis.com/auth/plus.login" | 513 "https://www.googleapis.com/auth/plus.login" |
404 ] | 514 ] |
| 515 }, |
| 516 "resetMultipleForAllPlayers": { |
| 517 "description": "Resets scores for the leaderboards with the
given IDs for all players. This method is only available to user accounts for yo
ur developer console. Only draft leaderboards may be reset.", |
| 518 "httpMethod": "POST", |
| 519 "id": "gamesManagement.scores.resetMultipleForAllPlayers", |
| 520 "path": "scores/resetMultipleForAllPlayers", |
| 521 "request": { |
| 522 "$ref": "ScoresResetMultipleForAllRequest" |
| 523 }, |
| 524 "scopes": [ |
| 525 "https://www.googleapis.com/auth/games", |
| 526 "https://www.googleapis.com/auth/plus.login" |
| 527 ] |
405 } | 528 } |
406 } | 529 } |
407 }, | 530 }, |
408 "turnBasedMatches": { | 531 "turnBasedMatches": { |
409 "methods": { | 532 "methods": { |
410 "reset": { | 533 "reset": { |
411 "description": "Reset all turn-based match data for a user.
This method is only accessible to whitelisted tester accounts for your applicati
on.", | 534 "description": "Reset all turn-based match data for a user.
This method is only accessible to whitelisted tester accounts for your applicati
on.", |
412 "httpMethod": "POST", | 535 "httpMethod": "POST", |
413 "id": "gamesManagement.turnBasedMatches.reset", | 536 "id": "gamesManagement.turnBasedMatches.reset", |
414 "path": "turnbasedmatches/reset", | 537 "path": "turnbasedmatches/reset", |
415 "scopes": [ | 538 "scopes": [ |
416 "https://www.googleapis.com/auth/games", | 539 "https://www.googleapis.com/auth/games", |
417 "https://www.googleapis.com/auth/plus.login" | 540 "https://www.googleapis.com/auth/plus.login" |
418 ] | 541 ] |
| 542 }, |
| 543 "resetForAllPlayers": { |
| 544 "description": "Deletes turn-based matches where the only ma
tch participants are from whitelisted tester accounts for your application. This
method is only available to user accounts for your developer console.", |
| 545 "httpMethod": "POST", |
| 546 "id": "gamesManagement.turnBasedMatches.resetForAllPlayers", |
| 547 "path": "turnbasedmatches/resetForAllPlayers", |
| 548 "scopes": [ |
| 549 "https://www.googleapis.com/auth/games", |
| 550 "https://www.googleapis.com/auth/plus.login" |
| 551 ] |
419 } | 552 } |
420 } | 553 } |
421 } | 554 } |
422 }, | 555 }, |
423 "revision": "20141005", | 556 "revision": "20141027", |
424 "rootUrl": "https://www.googleapis.com/", | 557 "rootUrl": "https://www.googleapis.com/", |
425 "schemas": { | 558 "schemas": { |
426 "AchievementResetAllResponse": { | 559 "AchievementResetAllResponse": { |
427 "description": "This is a JSON template for achievement reset all re
sponse.", | 560 "description": "This is a JSON template for achievement reset all re
sponse.", |
428 "id": "AchievementResetAllResponse", | 561 "id": "AchievementResetAllResponse", |
429 "properties": { | 562 "properties": { |
430 "kind": { | 563 "kind": { |
431 "default": "gamesManagement#achievementResetAllResponse", | 564 "default": "gamesManagement#achievementResetAllResponse", |
432 "description": "Uniquely identifies the type of this resourc
e. Value is always the fixed string gamesManagement#achievementResetAllResponse.
", | 565 "description": "Uniquely identifies the type of this resourc
e. Value is always the fixed string gamesManagement#achievementResetAllResponse.
", |
433 "type": "string" | 566 "type": "string" |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
478 "description": "Uniquely identifies the type of this resourc
e. Value is always the fixed string gamesManagement#achievementResetResponse.", | 611 "description": "Uniquely identifies the type of this resourc
e. Value is always the fixed string gamesManagement#achievementResetResponse.", |
479 "type": "string" | 612 "type": "string" |
480 }, | 613 }, |
481 "updateOccurred": { | 614 "updateOccurred": { |
482 "description": "Flag to indicate if the requested update act
ually occurred.", | 615 "description": "Flag to indicate if the requested update act
ually occurred.", |
483 "type": "boolean" | 616 "type": "boolean" |
484 } | 617 } |
485 }, | 618 }, |
486 "type": "object" | 619 "type": "object" |
487 }, | 620 }, |
| 621 "EventsResetMultipleForAllRequest": { |
| 622 "description": "This is a JSON template for multiple events reset al
l request.", |
| 623 "id": "EventsResetMultipleForAllRequest", |
| 624 "properties": { |
| 625 "event_ids": { |
| 626 "description": "The IDs of events to reset.", |
| 627 "items": { |
| 628 "type": "string" |
| 629 }, |
| 630 "type": "array" |
| 631 }, |
| 632 "kind": { |
| 633 "default": "gamesManagement#eventsResetMultipleForAllRequest
", |
| 634 "description": "Uniquely identifies the type of this resourc
e. Value is always the fixed string gamesManagement#eventsResetMultipleForAllReq
uest.", |
| 635 "type": "string" |
| 636 } |
| 637 }, |
| 638 "type": "object" |
| 639 }, |
488 "GamesPlayedResource": { | 640 "GamesPlayedResource": { |
489 "description": "This is a JSON template for metadata about a player
playing a game with the currently authenticated user.", | 641 "description": "This is a JSON template for metadata about a player
playing a game with the currently authenticated user.", |
490 "id": "GamesPlayedResource", | 642 "id": "GamesPlayedResource", |
491 "properties": { | 643 "properties": { |
492 "autoMatched": { | 644 "autoMatched": { |
493 "description": "True if the player was auto-matched with the
currently authenticated user.", | 645 "description": "True if the player was auto-matched with the
currently authenticated user.", |
494 "type": "boolean" | 646 "type": "boolean" |
495 }, | 647 }, |
496 "timeMillis": { | 648 "timeMillis": { |
497 "description": "The last time the player played the game in
milliseconds since the epoch in UTC.", | 649 "description": "The last time the player played the game in
milliseconds since the epoch in UTC.", |
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
635 "description": "The ID of the player.", | 787 "description": "The ID of the player.", |
636 "type": "string" | 788 "type": "string" |
637 }, | 789 }, |
638 "title": { | 790 "title": { |
639 "description": "The player's title rewarded for their game a
ctivities.", | 791 "description": "The player's title rewarded for their game a
ctivities.", |
640 "type": "string" | 792 "type": "string" |
641 } | 793 } |
642 }, | 794 }, |
643 "type": "object" | 795 "type": "object" |
644 }, | 796 }, |
| 797 "PlayerScoreResetAllResponse": { |
| 798 "description": "This is a JSON template for a list of leaderboard re
set resources.", |
| 799 "id": "PlayerScoreResetAllResponse", |
| 800 "properties": { |
| 801 "kind": { |
| 802 "default": "gamesManagement#playerScoreResetAllResponse", |
| 803 "description": "Uniquely identifies the type of this resourc
e. Value is always the fixed string gamesManagement#playerScoreResetResponse.", |
| 804 "type": "string" |
| 805 }, |
| 806 "results": { |
| 807 "description": "The leaderboard reset results.", |
| 808 "items": { |
| 809 "$ref": "PlayerScoreResetResponse" |
| 810 }, |
| 811 "type": "array" |
| 812 } |
| 813 }, |
| 814 "type": "object" |
| 815 }, |
645 "PlayerScoreResetResponse": { | 816 "PlayerScoreResetResponse": { |
646 "description": "This is a JSON template for a list of reset leaderbo
ard entry resources.", | 817 "description": "This is a JSON template for a list of reset leaderbo
ard entry resources.", |
647 "id": "PlayerScoreResetResponse", | 818 "id": "PlayerScoreResetResponse", |
648 "properties": { | 819 "properties": { |
| 820 "definitionId": { |
| 821 "description": "The ID of an leaderboard for which player st
ate has been updated.", |
| 822 "type": "string" |
| 823 }, |
649 "kind": { | 824 "kind": { |
650 "default": "gamesManagement#playerScoreResetResponse", | 825 "default": "gamesManagement#playerScoreResetResponse", |
651 "description": "Uniquely identifies the type of this resourc
e. Value is always the fixed string gamesManagement#playerScoreResetResponse.", | 826 "description": "Uniquely identifies the type of this resourc
e. Value is always the fixed string gamesManagement#playerScoreResetResponse.", |
652 "type": "string" | 827 "type": "string" |
653 }, | 828 }, |
654 "resetScoreTimeSpans": { | 829 "resetScoreTimeSpans": { |
655 "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.", | 830 "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.", |
656 "items": { | 831 "items": { |
657 "type": "string" | 832 "type": "string" |
658 }, | 833 }, |
659 "type": "array" | 834 "type": "array" |
660 } | 835 } |
661 }, | 836 }, |
662 "type": "object" | 837 "type": "object" |
| 838 }, |
| 839 "QuestsResetMultipleForAllRequest": { |
| 840 "description": "This is a JSON template for multiple quests reset al
l request.", |
| 841 "id": "QuestsResetMultipleForAllRequest", |
| 842 "properties": { |
| 843 "kind": { |
| 844 "default": "gamesManagement#questsResetMultipleForAllRequest
", |
| 845 "description": "Uniquely identifies the type of this resourc
e. Value is always the fixed string gamesManagement#questsResetMultipleForAllReq
uest.", |
| 846 "type": "string" |
| 847 }, |
| 848 "quest_ids": { |
| 849 "description": "The IDs of quests to reset.", |
| 850 "items": { |
| 851 "type": "string" |
| 852 }, |
| 853 "type": "array" |
| 854 } |
| 855 }, |
| 856 "type": "object" |
| 857 }, |
| 858 "ScoresResetMultipleForAllRequest": { |
| 859 "description": "This is a JSON template for multiple scores reset al
l request.", |
| 860 "id": "ScoresResetMultipleForAllRequest", |
| 861 "properties": { |
| 862 "kind": { |
| 863 "default": "gamesManagement#scoresResetMultipleForAllRequest
", |
| 864 "description": "Uniquely identifies the type of this resourc
e. Value is always the fixed string gamesManagement#scoresResetMultipleForAllReq
uest.", |
| 865 "type": "string" |
| 866 }, |
| 867 "leaderboard_ids": { |
| 868 "description": "The IDs of leaderboards to reset.", |
| 869 "items": { |
| 870 "type": "string" |
| 871 }, |
| 872 "type": "array" |
| 873 } |
| 874 }, |
| 875 "type": "object" |
663 } | 876 } |
664 }, | 877 }, |
665 "servicePath": "games/v1management/", | 878 "servicePath": "games/v1management/", |
666 "title": "Google Play Game Services Management API", | 879 "title": "Google Play Game Services Management API", |
667 "version": "v1management" | 880 "version": "v1management" |
668 } | 881 } |
OLD | NEW |