OLD | NEW |
1 { | 1 { |
2 "auth": { | 2 "auth": { |
3 "oauth2": { | 3 "oauth2": { |
4 "scopes": { | 4 "scopes": { |
5 "https://www.googleapis.com/auth/drive.appdata": { | 5 "https://www.googleapis.com/auth/drive.appdata": { |
6 "description": "View and manage its own configuration data i
n your Google Drive" | 6 "description": "View and manage its own configuration data i
n your Google Drive" |
7 }, | 7 }, |
8 "https://www.googleapis.com/auth/games": { | 8 "https://www.googleapis.com/auth/games": { |
9 "description": "Share your Google+ profile information and v
iew and manage your game activity" | 9 "description": "Share your Google+ profile information and v
iew and manage your game activity" |
10 }, | 10 }, |
11 "https://www.googleapis.com/auth/plus.login": { | 11 "https://www.googleapis.com/auth/plus.login": { |
12 "description": "Know the list of people in your circles, you
r age range, and language" | 12 "description": "Know the list of people in your circles, you
r age range, and language" |
13 } | 13 } |
14 } | 14 } |
15 } | 15 } |
16 }, | 16 }, |
17 "basePath": "/games/v1/", | 17 "basePath": "/games/v1/", |
18 "baseUrl": "https://www.googleapis.com/games/v1/", | 18 "baseUrl": "https://www.googleapis.com/games/v1/", |
19 "batchPath": "batch", | 19 "batchPath": "batch", |
20 "canonicalName": "Games", | 20 "canonicalName": "Games", |
21 "description": "The API for Google Play Game Services.", | 21 "description": "The API for Google Play Game Services.", |
22 "discoveryVersion": "v1", | 22 "discoveryVersion": "v1", |
23 "documentationLink": "https://developers.google.com/games/services/", | 23 "documentationLink": "https://developers.google.com/games/services/", |
24 "etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/CV3LXSG5iJYA5MV4HpEGKPTv26w\"", | 24 "etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/eOmcPxythNL7bT2BldowNGFrfV8\"", |
25 "icons": { | 25 "icons": { |
26 "x16": "http://www.google.com/images/icons/product/search-16.gif", | 26 "x16": "http://www.google.com/images/icons/product/search-16.gif", |
27 "x32": "http://www.google.com/images/icons/product/search-32.gif" | 27 "x32": "http://www.google.com/images/icons/product/search-32.gif" |
28 }, | 28 }, |
29 "id": "games:v1", | 29 "id": "games:v1", |
30 "kind": "discovery#restDescription", | 30 "kind": "discovery#restDescription", |
31 "name": "games", | 31 "name": "games", |
32 "ownerDomain": "google.com", | 32 "ownerDomain": "google.com", |
33 "ownerName": "Google", | 33 "ownerName": "Google", |
34 "parameters": { | 34 "parameters": { |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 }, | 78 }, |
79 "protocol": "rest", | 79 "protocol": "rest", |
80 "resources": { | 80 "resources": { |
81 "achievementDefinitions": { | 81 "achievementDefinitions": { |
82 "methods": { | 82 "methods": { |
83 "list": { | 83 "list": { |
84 "description": "Lists all the achievement definitions for yo
ur application.", | 84 "description": "Lists all the achievement definitions for yo
ur application.", |
85 "httpMethod": "GET", | 85 "httpMethod": "GET", |
86 "id": "games.achievementDefinitions.list", | 86 "id": "games.achievementDefinitions.list", |
87 "parameters": { | 87 "parameters": { |
| 88 "consistencyToken": { |
| 89 "description": "The last-seen mutation timestamp.", |
| 90 "format": "int64", |
| 91 "location": "query", |
| 92 "type": "string" |
| 93 }, |
88 "language": { | 94 "language": { |
89 "description": "The preferred language to use for st
rings returned by this method.", | 95 "description": "The preferred language to use for st
rings returned by this method.", |
90 "location": "query", | 96 "location": "query", |
91 "type": "string" | 97 "type": "string" |
92 }, | 98 }, |
93 "maxResults": { | 99 "maxResults": { |
94 "description": "The maximum number of achievement re
sources to return in the response, used for paging. For any response, the actual
number of achievement resources returned may be less than the specified maxResu
lts.", | 100 "description": "The maximum number of achievement re
sources to return in the response, used for paging. For any response, the actual
number of achievement resources returned may be less than the specified maxResu
lts.", |
95 "format": "int32", | 101 "format": "int32", |
96 "location": "query", | 102 "location": "query", |
97 "maximum": "200", | 103 "maximum": "200", |
(...skipping 27 matching lines...) Expand all Loading... |
125 "achievementId", | 131 "achievementId", |
126 "stepsToIncrement" | 132 "stepsToIncrement" |
127 ], | 133 ], |
128 "parameters": { | 134 "parameters": { |
129 "achievementId": { | 135 "achievementId": { |
130 "description": "The ID of the achievement used by th
is method.", | 136 "description": "The ID of the achievement used by th
is method.", |
131 "location": "path", | 137 "location": "path", |
132 "required": true, | 138 "required": true, |
133 "type": "string" | 139 "type": "string" |
134 }, | 140 }, |
| 141 "consistencyToken": { |
| 142 "description": "The last-seen mutation timestamp.", |
| 143 "format": "int64", |
| 144 "location": "query", |
| 145 "type": "string" |
| 146 }, |
135 "requestId": { | 147 "requestId": { |
136 "description": "A randomly generated numeric ID for
each request specified by the caller. This number is used at the server to ensur
e that the request is handled correctly across retries.", | 148 "description": "A randomly generated numeric ID for
each request specified by the caller. This number is used at the server to ensur
e that the request is handled correctly across retries.", |
137 "format": "int64", | 149 "format": "int64", |
138 "location": "query", | 150 "location": "query", |
139 "type": "string" | 151 "type": "string" |
140 }, | 152 }, |
141 "stepsToIncrement": { | 153 "stepsToIncrement": { |
142 "description": "The number of steps to increment.", | 154 "description": "The number of steps to increment.", |
143 "format": "int32", | 155 "format": "int32", |
144 "location": "query", | 156 "location": "query", |
(...skipping 12 matching lines...) Expand all Loading... |
157 ] | 169 ] |
158 }, | 170 }, |
159 "list": { | 171 "list": { |
160 "description": "Lists the progress for all your application'
s achievements for the currently authenticated player.", | 172 "description": "Lists the progress for all your application'
s achievements for the currently authenticated player.", |
161 "httpMethod": "GET", | 173 "httpMethod": "GET", |
162 "id": "games.achievements.list", | 174 "id": "games.achievements.list", |
163 "parameterOrder": [ | 175 "parameterOrder": [ |
164 "playerId" | 176 "playerId" |
165 ], | 177 ], |
166 "parameters": { | 178 "parameters": { |
| 179 "consistencyToken": { |
| 180 "description": "The last-seen mutation timestamp.", |
| 181 "format": "int64", |
| 182 "location": "query", |
| 183 "type": "string" |
| 184 }, |
167 "language": { | 185 "language": { |
168 "description": "The preferred language to use for st
rings returned by this method.", | 186 "description": "The preferred language to use for st
rings returned by this method.", |
169 "location": "query", | 187 "location": "query", |
170 "type": "string" | 188 "type": "string" |
171 }, | 189 }, |
172 "maxResults": { | 190 "maxResults": { |
173 "description": "The maximum number of achievement re
sources to return in the response, used for paging. For any response, the actual
number of achievement resources returned may be less than the specified maxResu
lts.", | 191 "description": "The maximum number of achievement re
sources to return in the response, used for paging. For any response, the actual
number of achievement resources returned may be less than the specified maxResu
lts.", |
174 "format": "int32", | 192 "format": "int32", |
175 "location": "query", | 193 "location": "query", |
176 "maximum": "200", | 194 "maximum": "200", |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
221 "id": "games.achievements.reveal", | 239 "id": "games.achievements.reveal", |
222 "parameterOrder": [ | 240 "parameterOrder": [ |
223 "achievementId" | 241 "achievementId" |
224 ], | 242 ], |
225 "parameters": { | 243 "parameters": { |
226 "achievementId": { | 244 "achievementId": { |
227 "description": "The ID of the achievement used by th
is method.", | 245 "description": "The ID of the achievement used by th
is method.", |
228 "location": "path", | 246 "location": "path", |
229 "required": true, | 247 "required": true, |
230 "type": "string" | 248 "type": "string" |
| 249 }, |
| 250 "consistencyToken": { |
| 251 "description": "The last-seen mutation timestamp.", |
| 252 "format": "int64", |
| 253 "location": "query", |
| 254 "type": "string" |
231 } | 255 } |
232 }, | 256 }, |
233 "path": "achievements/{achievementId}/reveal", | 257 "path": "achievements/{achievementId}/reveal", |
234 "response": { | 258 "response": { |
235 "$ref": "AchievementRevealResponse" | 259 "$ref": "AchievementRevealResponse" |
236 }, | 260 }, |
237 "scopes": [ | 261 "scopes": [ |
238 "https://www.googleapis.com/auth/games", | 262 "https://www.googleapis.com/auth/games", |
239 "https://www.googleapis.com/auth/plus.login" | 263 "https://www.googleapis.com/auth/plus.login" |
240 ] | 264 ] |
241 }, | 265 }, |
242 "setStepsAtLeast": { | 266 "setStepsAtLeast": { |
243 "description": "Sets the steps for the currently authenticat
ed player towards unlocking an achievement. If the steps parameter is less than
the current number of steps that the player already gained for the achievement,
the achievement is not modified.", | 267 "description": "Sets the steps for the currently authenticat
ed player towards unlocking an achievement. If the steps parameter is less than
the current number of steps that the player already gained for the achievement,
the achievement is not modified.", |
244 "httpMethod": "POST", | 268 "httpMethod": "POST", |
245 "id": "games.achievements.setStepsAtLeast", | 269 "id": "games.achievements.setStepsAtLeast", |
246 "parameterOrder": [ | 270 "parameterOrder": [ |
247 "achievementId", | 271 "achievementId", |
248 "steps" | 272 "steps" |
249 ], | 273 ], |
250 "parameters": { | 274 "parameters": { |
251 "achievementId": { | 275 "achievementId": { |
252 "description": "The ID of the achievement used by th
is method.", | 276 "description": "The ID of the achievement used by th
is method.", |
253 "location": "path", | 277 "location": "path", |
254 "required": true, | 278 "required": true, |
255 "type": "string" | 279 "type": "string" |
256 }, | 280 }, |
| 281 "consistencyToken": { |
| 282 "description": "The last-seen mutation timestamp.", |
| 283 "format": "int64", |
| 284 "location": "query", |
| 285 "type": "string" |
| 286 }, |
257 "steps": { | 287 "steps": { |
258 "description": "The minimum value to set the steps t
o.", | 288 "description": "The minimum value to set the steps t
o.", |
259 "format": "int32", | 289 "format": "int32", |
260 "location": "query", | 290 "location": "query", |
261 "minimum": "1", | 291 "minimum": "1", |
262 "required": true, | 292 "required": true, |
263 "type": "integer" | 293 "type": "integer" |
264 } | 294 } |
265 }, | 295 }, |
266 "path": "achievements/{achievementId}/setStepsAtLeast", | 296 "path": "achievements/{achievementId}/setStepsAtLeast", |
(...skipping 11 matching lines...) Expand all Loading... |
278 "id": "games.achievements.unlock", | 308 "id": "games.achievements.unlock", |
279 "parameterOrder": [ | 309 "parameterOrder": [ |
280 "achievementId" | 310 "achievementId" |
281 ], | 311 ], |
282 "parameters": { | 312 "parameters": { |
283 "achievementId": { | 313 "achievementId": { |
284 "description": "The ID of the achievement used by th
is method.", | 314 "description": "The ID of the achievement used by th
is method.", |
285 "location": "path", | 315 "location": "path", |
286 "required": true, | 316 "required": true, |
287 "type": "string" | 317 "type": "string" |
| 318 }, |
| 319 "consistencyToken": { |
| 320 "description": "The last-seen mutation timestamp.", |
| 321 "format": "int64", |
| 322 "location": "query", |
| 323 "type": "string" |
288 } | 324 } |
289 }, | 325 }, |
290 "path": "achievements/{achievementId}/unlock", | 326 "path": "achievements/{achievementId}/unlock", |
291 "response": { | 327 "response": { |
292 "$ref": "AchievementUnlockResponse" | 328 "$ref": "AchievementUnlockResponse" |
293 }, | 329 }, |
294 "scopes": [ | 330 "scopes": [ |
295 "https://www.googleapis.com/auth/games", | 331 "https://www.googleapis.com/auth/games", |
296 "https://www.googleapis.com/auth/plus.login" | 332 "https://www.googleapis.com/auth/plus.login" |
297 ] | 333 ] |
298 }, | 334 }, |
299 "updateMultiple": { | 335 "updateMultiple": { |
300 "description": "Updates multiple achievements for the curren
tly authenticated player.", | 336 "description": "Updates multiple achievements for the curren
tly authenticated player.", |
301 "httpMethod": "POST", | 337 "httpMethod": "POST", |
302 "id": "games.achievements.updateMultiple", | 338 "id": "games.achievements.updateMultiple", |
| 339 "parameters": { |
| 340 "consistencyToken": { |
| 341 "description": "The last-seen mutation timestamp.", |
| 342 "format": "int64", |
| 343 "location": "query", |
| 344 "type": "string" |
| 345 } |
| 346 }, |
303 "path": "achievements/updateMultiple", | 347 "path": "achievements/updateMultiple", |
304 "request": { | 348 "request": { |
305 "$ref": "AchievementUpdateMultipleRequest" | 349 "$ref": "AchievementUpdateMultipleRequest" |
306 }, | 350 }, |
307 "response": { | 351 "response": { |
308 "$ref": "AchievementUpdateMultipleResponse" | 352 "$ref": "AchievementUpdateMultipleResponse" |
309 }, | 353 }, |
310 "scopes": [ | 354 "scopes": [ |
311 "https://www.googleapis.com/auth/games", | 355 "https://www.googleapis.com/auth/games", |
312 "https://www.googleapis.com/auth/plus.login" | 356 "https://www.googleapis.com/auth/plus.login" |
(...skipping 10 matching lines...) Expand all Loading... |
323 "parameterOrder": [ | 367 "parameterOrder": [ |
324 "applicationId" | 368 "applicationId" |
325 ], | 369 ], |
326 "parameters": { | 370 "parameters": { |
327 "applicationId": { | 371 "applicationId": { |
328 "description": "The application ID from the Google P
lay developer console.", | 372 "description": "The application ID from the Google P
lay developer console.", |
329 "location": "path", | 373 "location": "path", |
330 "required": true, | 374 "required": true, |
331 "type": "string" | 375 "type": "string" |
332 }, | 376 }, |
| 377 "consistencyToken": { |
| 378 "description": "The last-seen mutation timestamp.", |
| 379 "format": "int64", |
| 380 "location": "query", |
| 381 "type": "string" |
| 382 }, |
333 "language": { | 383 "language": { |
334 "description": "The preferred language to use for st
rings returned by this method.", | 384 "description": "The preferred language to use for st
rings returned by this method.", |
335 "location": "query", | 385 "location": "query", |
336 "type": "string" | 386 "type": "string" |
337 }, | 387 }, |
338 "platformType": { | 388 "platformType": { |
339 "description": "Restrict application details returne
d to the specific platform.", | 389 "description": "Restrict application details returne
d to the specific platform.", |
340 "enum": [ | 390 "enum": [ |
341 "ANDROID", | 391 "ANDROID", |
342 "IOS", | 392 "IOS", |
(...skipping 14 matching lines...) Expand all Loading... |
357 }, | 407 }, |
358 "scopes": [ | 408 "scopes": [ |
359 "https://www.googleapis.com/auth/games", | 409 "https://www.googleapis.com/auth/games", |
360 "https://www.googleapis.com/auth/plus.login" | 410 "https://www.googleapis.com/auth/plus.login" |
361 ] | 411 ] |
362 }, | 412 }, |
363 "played": { | 413 "played": { |
364 "description": "Indicate that the the currently authenticate
d user is playing your application.", | 414 "description": "Indicate that the the currently authenticate
d user is playing your application.", |
365 "httpMethod": "POST", | 415 "httpMethod": "POST", |
366 "id": "games.applications.played", | 416 "id": "games.applications.played", |
| 417 "parameters": { |
| 418 "consistencyToken": { |
| 419 "description": "The last-seen mutation timestamp.", |
| 420 "format": "int64", |
| 421 "location": "query", |
| 422 "type": "string" |
| 423 } |
| 424 }, |
367 "path": "applications/played", | 425 "path": "applications/played", |
368 "scopes": [ | 426 "scopes": [ |
369 "https://www.googleapis.com/auth/games", | 427 "https://www.googleapis.com/auth/games", |
370 "https://www.googleapis.com/auth/plus.login" | 428 "https://www.googleapis.com/auth/plus.login" |
371 ] | 429 ] |
372 }, | 430 }, |
373 "verify": { | 431 "verify": { |
374 "description": "Verifies the auth token provided with this r
equest is for the application with the specified ID, and returns the ID of the p
layer it was granted for.", | 432 "description": "Verifies the auth token provided with this r
equest is for the application with the specified ID, and returns the ID of the p
layer it was granted for.", |
375 "httpMethod": "GET", | 433 "httpMethod": "GET", |
376 "id": "games.applications.verify", | 434 "id": "games.applications.verify", |
377 "parameterOrder": [ | 435 "parameterOrder": [ |
378 "applicationId" | 436 "applicationId" |
379 ], | 437 ], |
380 "parameters": { | 438 "parameters": { |
381 "applicationId": { | 439 "applicationId": { |
382 "description": "The application ID from the Google P
lay developer console.", | 440 "description": "The application ID from the Google P
lay developer console.", |
383 "location": "path", | 441 "location": "path", |
384 "required": true, | 442 "required": true, |
385 "type": "string" | 443 "type": "string" |
| 444 }, |
| 445 "consistencyToken": { |
| 446 "description": "The last-seen mutation timestamp.", |
| 447 "format": "int64", |
| 448 "location": "query", |
| 449 "type": "string" |
386 } | 450 } |
387 }, | 451 }, |
388 "path": "applications/{applicationId}/verify", | 452 "path": "applications/{applicationId}/verify", |
389 "response": { | 453 "response": { |
390 "$ref": "ApplicationVerifyResponse" | 454 "$ref": "ApplicationVerifyResponse" |
391 }, | 455 }, |
392 "scopes": [ | 456 "scopes": [ |
393 "https://www.googleapis.com/auth/games", | 457 "https://www.googleapis.com/auth/games", |
394 "https://www.googleapis.com/auth/plus.login" | 458 "https://www.googleapis.com/auth/plus.login" |
395 ] | 459 ] |
396 } | 460 } |
397 } | 461 } |
398 }, | 462 }, |
399 "events": { | 463 "events": { |
400 "methods": { | 464 "methods": { |
401 "listByPlayer": { | 465 "listByPlayer": { |
402 "description": "Returns a list showing the current progress
on events in this application for the currently authenticated user.", | 466 "description": "Returns a list showing the current progress
on events in this application for the currently authenticated user.", |
403 "httpMethod": "GET", | 467 "httpMethod": "GET", |
404 "id": "games.events.listByPlayer", | 468 "id": "games.events.listByPlayer", |
405 "parameters": { | 469 "parameters": { |
| 470 "consistencyToken": { |
| 471 "description": "The last-seen mutation timestamp.", |
| 472 "format": "int64", |
| 473 "location": "query", |
| 474 "type": "string" |
| 475 }, |
406 "language": { | 476 "language": { |
407 "description": "The preferred language to use for st
rings returned by this method.", | 477 "description": "The preferred language to use for st
rings returned by this method.", |
408 "location": "query", | 478 "location": "query", |
409 "type": "string" | 479 "type": "string" |
410 }, | 480 }, |
411 "maxResults": { | 481 "maxResults": { |
412 "description": "The maximum number of events to retu
rn in the response, used for paging. For any response, the actual number of even
ts to return may be less than the specified maxResults.", | 482 "description": "The maximum number of events to retu
rn in the response, used for paging. For any response, the actual number of even
ts to return may be less than the specified maxResults.", |
413 "format": "int32", | 483 "format": "int32", |
414 "location": "query", | 484 "location": "query", |
415 "maximum": "100", | 485 "maximum": "100", |
(...skipping 13 matching lines...) Expand all Loading... |
429 "scopes": [ | 499 "scopes": [ |
430 "https://www.googleapis.com/auth/games", | 500 "https://www.googleapis.com/auth/games", |
431 "https://www.googleapis.com/auth/plus.login" | 501 "https://www.googleapis.com/auth/plus.login" |
432 ] | 502 ] |
433 }, | 503 }, |
434 "listDefinitions": { | 504 "listDefinitions": { |
435 "description": "Returns a list of the event definitions in t
his application.", | 505 "description": "Returns a list of the event definitions in t
his application.", |
436 "httpMethod": "GET", | 506 "httpMethod": "GET", |
437 "id": "games.events.listDefinitions", | 507 "id": "games.events.listDefinitions", |
438 "parameters": { | 508 "parameters": { |
| 509 "consistencyToken": { |
| 510 "description": "The last-seen mutation timestamp.", |
| 511 "format": "int64", |
| 512 "location": "query", |
| 513 "type": "string" |
| 514 }, |
439 "language": { | 515 "language": { |
440 "description": "The preferred language to use for st
rings returned by this method.", | 516 "description": "The preferred language to use for st
rings returned by this method.", |
441 "location": "query", | 517 "location": "query", |
442 "type": "string" | 518 "type": "string" |
443 }, | 519 }, |
444 "maxResults": { | 520 "maxResults": { |
445 "description": "The maximum number of event definiti
ons to return in the response, used for paging. For any response, the actual num
ber of event definitions to return may be less than the specified maxResults.", | 521 "description": "The maximum number of event definiti
ons to return in the response, used for paging. For any response, the actual num
ber of event definitions to return may be less than the specified maxResults.", |
446 "format": "int32", | 522 "format": "int32", |
447 "location": "query", | 523 "location": "query", |
448 "maximum": "100", | 524 "maximum": "100", |
(...skipping 13 matching lines...) Expand all Loading... |
462 "scopes": [ | 538 "scopes": [ |
463 "https://www.googleapis.com/auth/games", | 539 "https://www.googleapis.com/auth/games", |
464 "https://www.googleapis.com/auth/plus.login" | 540 "https://www.googleapis.com/auth/plus.login" |
465 ] | 541 ] |
466 }, | 542 }, |
467 "record": { | 543 "record": { |
468 "description": "Records a batch of changes to the number of
times events have occurred for the currently authenticated user of this applicat
ion.", | 544 "description": "Records a batch of changes to the number of
times events have occurred for the currently authenticated user of this applicat
ion.", |
469 "httpMethod": "POST", | 545 "httpMethod": "POST", |
470 "id": "games.events.record", | 546 "id": "games.events.record", |
471 "parameters": { | 547 "parameters": { |
| 548 "consistencyToken": { |
| 549 "description": "The last-seen mutation timestamp.", |
| 550 "format": "int64", |
| 551 "location": "query", |
| 552 "type": "string" |
| 553 }, |
472 "language": { | 554 "language": { |
473 "description": "The preferred language to use for st
rings returned by this method.", | 555 "description": "The preferred language to use for st
rings returned by this method.", |
474 "location": "query", | 556 "location": "query", |
475 "type": "string" | 557 "type": "string" |
476 } | 558 } |
477 }, | 559 }, |
478 "path": "events", | 560 "path": "events", |
479 "request": { | 561 "request": { |
480 "$ref": "EventRecordRequest" | 562 "$ref": "EventRecordRequest" |
481 }, | 563 }, |
(...skipping 10 matching lines...) Expand all Loading... |
492 "leaderboards": { | 574 "leaderboards": { |
493 "methods": { | 575 "methods": { |
494 "get": { | 576 "get": { |
495 "description": "Retrieves the metadata of the leaderboard wi
th the given ID.", | 577 "description": "Retrieves the metadata of the leaderboard wi
th the given ID.", |
496 "httpMethod": "GET", | 578 "httpMethod": "GET", |
497 "id": "games.leaderboards.get", | 579 "id": "games.leaderboards.get", |
498 "parameterOrder": [ | 580 "parameterOrder": [ |
499 "leaderboardId" | 581 "leaderboardId" |
500 ], | 582 ], |
501 "parameters": { | 583 "parameters": { |
| 584 "consistencyToken": { |
| 585 "description": "The last-seen mutation timestamp.", |
| 586 "format": "int64", |
| 587 "location": "query", |
| 588 "type": "string" |
| 589 }, |
502 "language": { | 590 "language": { |
503 "description": "The preferred language to use for st
rings returned by this method.", | 591 "description": "The preferred language to use for st
rings returned by this method.", |
504 "location": "query", | 592 "location": "query", |
505 "type": "string" | 593 "type": "string" |
506 }, | 594 }, |
507 "leaderboardId": { | 595 "leaderboardId": { |
508 "description": "The ID of the leaderboard.", | 596 "description": "The ID of the leaderboard.", |
509 "location": "path", | 597 "location": "path", |
510 "required": true, | 598 "required": true, |
511 "type": "string" | 599 "type": "string" |
512 } | 600 } |
513 }, | 601 }, |
514 "path": "leaderboards/{leaderboardId}", | 602 "path": "leaderboards/{leaderboardId}", |
515 "response": { | 603 "response": { |
516 "$ref": "Leaderboard" | 604 "$ref": "Leaderboard" |
517 }, | 605 }, |
518 "scopes": [ | 606 "scopes": [ |
519 "https://www.googleapis.com/auth/games", | 607 "https://www.googleapis.com/auth/games", |
520 "https://www.googleapis.com/auth/plus.login" | 608 "https://www.googleapis.com/auth/plus.login" |
521 ] | 609 ] |
522 }, | 610 }, |
523 "list": { | 611 "list": { |
524 "description": "Lists all the leaderboard metadata for your
application.", | 612 "description": "Lists all the leaderboard metadata for your
application.", |
525 "httpMethod": "GET", | 613 "httpMethod": "GET", |
526 "id": "games.leaderboards.list", | 614 "id": "games.leaderboards.list", |
527 "parameters": { | 615 "parameters": { |
| 616 "consistencyToken": { |
| 617 "description": "The last-seen mutation timestamp.", |
| 618 "format": "int64", |
| 619 "location": "query", |
| 620 "type": "string" |
| 621 }, |
528 "language": { | 622 "language": { |
529 "description": "The preferred language to use for st
rings returned by this method.", | 623 "description": "The preferred language to use for st
rings returned by this method.", |
530 "location": "query", | 624 "location": "query", |
531 "type": "string" | 625 "type": "string" |
532 }, | 626 }, |
533 "maxResults": { | 627 "maxResults": { |
534 "description": "The maximum number of leaderboards t
o return in the response. For any response, the actual number of leaderboards re
turned may be less than the specified maxResults.", | 628 "description": "The maximum number of leaderboards t
o return in the response. For any response, the actual number of leaderboards re
turned may be less than the specified maxResults.", |
535 "format": "int32", | 629 "format": "int32", |
536 "location": "query", | 630 "location": "query", |
537 "maximum": "200", | 631 "maximum": "200", |
(...skipping 16 matching lines...) Expand all Loading... |
554 ] | 648 ] |
555 } | 649 } |
556 } | 650 } |
557 }, | 651 }, |
558 "metagame": { | 652 "metagame": { |
559 "methods": { | 653 "methods": { |
560 "getMetagameConfig": { | 654 "getMetagameConfig": { |
561 "description": "Return the metagame configuration data for t
he calling application.", | 655 "description": "Return the metagame configuration data for t
he calling application.", |
562 "httpMethod": "GET", | 656 "httpMethod": "GET", |
563 "id": "games.metagame.getMetagameConfig", | 657 "id": "games.metagame.getMetagameConfig", |
| 658 "parameters": { |
| 659 "consistencyToken": { |
| 660 "description": "The last-seen mutation timestamp.", |
| 661 "format": "int64", |
| 662 "location": "query", |
| 663 "type": "string" |
| 664 } |
| 665 }, |
564 "path": "metagameConfig", | 666 "path": "metagameConfig", |
565 "response": { | 667 "response": { |
566 "$ref": "MetagameConfig" | 668 "$ref": "MetagameConfig" |
567 }, | 669 }, |
568 "scopes": [ | 670 "scopes": [ |
569 "https://www.googleapis.com/auth/games", | 671 "https://www.googleapis.com/auth/games", |
570 "https://www.googleapis.com/auth/plus.login" | 672 "https://www.googleapis.com/auth/plus.login" |
571 ] | 673 ] |
572 }, | 674 }, |
573 "listCategoriesByPlayer": { | 675 "listCategoriesByPlayer": { |
(...skipping 10 matching lines...) Expand all Loading... |
584 "enum": [ | 686 "enum": [ |
585 "all" | 687 "all" |
586 ], | 688 ], |
587 "enumDescriptions": [ | 689 "enumDescriptions": [ |
588 "Retrieve data for all categories. This is the d
efault." | 690 "Retrieve data for all categories. This is the d
efault." |
589 ], | 691 ], |
590 "location": "path", | 692 "location": "path", |
591 "required": true, | 693 "required": true, |
592 "type": "string" | 694 "type": "string" |
593 }, | 695 }, |
| 696 "consistencyToken": { |
| 697 "description": "The last-seen mutation timestamp.", |
| 698 "format": "int64", |
| 699 "location": "query", |
| 700 "type": "string" |
| 701 }, |
594 "language": { | 702 "language": { |
595 "description": "The preferred language to use for st
rings returned by this method.", | 703 "description": "The preferred language to use for st
rings returned by this method.", |
596 "location": "query", | 704 "location": "query", |
597 "type": "string" | 705 "type": "string" |
598 }, | 706 }, |
599 "maxResults": { | 707 "maxResults": { |
600 "description": "The maximum number of category resou
rces to return in the response, used for paging. For any response, the actual nu
mber of category resources returned may be less than the specified maxResults.", | 708 "description": "The maximum number of category resou
rces to return in the response, used for paging. For any response, the actual nu
mber of category resources returned may be less than the specified maxResults.", |
601 "format": "int32", | 709 "format": "int32", |
602 "location": "query", | 710 "location": "query", |
603 "maximum": "100", | 711 "maximum": "100", |
(...skipping 26 matching lines...) Expand all Loading... |
630 "players": { | 738 "players": { |
631 "methods": { | 739 "methods": { |
632 "get": { | 740 "get": { |
633 "description": "Retrieves the Player resource with the given
ID. To retrieve the player for the currently authenticated user, set playerId t
o me.", | 741 "description": "Retrieves the Player resource with the given
ID. To retrieve the player for the currently authenticated user, set playerId t
o me.", |
634 "httpMethod": "GET", | 742 "httpMethod": "GET", |
635 "id": "games.players.get", | 743 "id": "games.players.get", |
636 "parameterOrder": [ | 744 "parameterOrder": [ |
637 "playerId" | 745 "playerId" |
638 ], | 746 ], |
639 "parameters": { | 747 "parameters": { |
| 748 "consistencyToken": { |
| 749 "description": "The last-seen mutation timestamp.", |
| 750 "format": "int64", |
| 751 "location": "query", |
| 752 "type": "string" |
| 753 }, |
640 "language": { | 754 "language": { |
641 "description": "The preferred language to use for st
rings returned by this method.", | 755 "description": "The preferred language to use for st
rings returned by this method.", |
642 "location": "query", | 756 "location": "query", |
643 "type": "string" | 757 "type": "string" |
644 }, | 758 }, |
645 "playerId": { | 759 "playerId": { |
646 "description": "A player ID. A value of me may be us
ed in place of the authenticated player's ID.", | 760 "description": "A player ID. A value of me may be us
ed in place of the authenticated player's ID.", |
647 "location": "path", | 761 "location": "path", |
648 "required": true, | 762 "required": true, |
649 "type": "string" | 763 "type": "string" |
(...skipping 27 matching lines...) Expand all Loading... |
677 "enumDescriptions": [ | 791 "enumDescriptions": [ |
678 "Retrieve a list of players that are also playin
g this game in reverse chronological order.", | 792 "Retrieve a list of players that are also playin
g this game in reverse chronological order.", |
679 "(DEPRECATED: please use played_with!) Retrieve
a list of players you have played a multiplayer game (realtime or turn-based) wi
th recently.", | 793 "(DEPRECATED: please use played_with!) Retrieve
a list of players you have played a multiplayer game (realtime or turn-based) wi
th recently.", |
680 "Retrieve a list of players you have played a mu
ltiplayer game (realtime or turn-based) with recently.", | 794 "Retrieve a list of players you have played a mu
ltiplayer game (realtime or turn-based) with recently.", |
681 "Retrieve a list of players in the user's social
graph that are visible to this game." | 795 "Retrieve a list of players in the user's social
graph that are visible to this game." |
682 ], | 796 ], |
683 "location": "path", | 797 "location": "path", |
684 "required": true, | 798 "required": true, |
685 "type": "string" | 799 "type": "string" |
686 }, | 800 }, |
| 801 "consistencyToken": { |
| 802 "description": "The last-seen mutation timestamp.", |
| 803 "format": "int64", |
| 804 "location": "query", |
| 805 "type": "string" |
| 806 }, |
687 "language": { | 807 "language": { |
688 "description": "The preferred language to use for st
rings returned by this method.", | 808 "description": "The preferred language to use for st
rings returned by this method.", |
689 "location": "query", | 809 "location": "query", |
690 "type": "string" | 810 "type": "string" |
691 }, | 811 }, |
692 "maxResults": { | 812 "maxResults": { |
693 "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.", | 813 "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.", |
694 "format": "int32", | 814 "format": "int32", |
695 "location": "query", | 815 "location": "query", |
696 "maximum": "50", | 816 "maximum": "50", |
(...skipping 16 matching lines...) Expand all Loading... |
713 ] | 833 ] |
714 } | 834 } |
715 } | 835 } |
716 }, | 836 }, |
717 "pushtokens": { | 837 "pushtokens": { |
718 "methods": { | 838 "methods": { |
719 "remove": { | 839 "remove": { |
720 "description": "Removes a push token for the current user an
d application. Removing a non-existent push token will report success.", | 840 "description": "Removes a push token for the current user an
d application. Removing a non-existent push token will report success.", |
721 "httpMethod": "POST", | 841 "httpMethod": "POST", |
722 "id": "games.pushtokens.remove", | 842 "id": "games.pushtokens.remove", |
| 843 "parameters": { |
| 844 "consistencyToken": { |
| 845 "description": "The last-seen mutation timestamp.", |
| 846 "format": "int64", |
| 847 "location": "query", |
| 848 "type": "string" |
| 849 } |
| 850 }, |
723 "path": "pushtokens/remove", | 851 "path": "pushtokens/remove", |
724 "request": { | 852 "request": { |
725 "$ref": "PushTokenId" | 853 "$ref": "PushTokenId" |
726 }, | 854 }, |
727 "scopes": [ | 855 "scopes": [ |
728 "https://www.googleapis.com/auth/games", | 856 "https://www.googleapis.com/auth/games", |
729 "https://www.googleapis.com/auth/plus.login" | 857 "https://www.googleapis.com/auth/plus.login" |
730 ] | 858 ] |
731 }, | 859 }, |
732 "update": { | 860 "update": { |
733 "description": "Registers a push token for the current user
and application.", | 861 "description": "Registers a push token for the current user
and application.", |
734 "httpMethod": "PUT", | 862 "httpMethod": "PUT", |
735 "id": "games.pushtokens.update", | 863 "id": "games.pushtokens.update", |
| 864 "parameters": { |
| 865 "consistencyToken": { |
| 866 "description": "The last-seen mutation timestamp.", |
| 867 "format": "int64", |
| 868 "location": "query", |
| 869 "type": "string" |
| 870 } |
| 871 }, |
736 "path": "pushtokens", | 872 "path": "pushtokens", |
737 "request": { | 873 "request": { |
738 "$ref": "PushToken" | 874 "$ref": "PushToken" |
739 }, | 875 }, |
740 "scopes": [ | 876 "scopes": [ |
741 "https://www.googleapis.com/auth/games", | 877 "https://www.googleapis.com/auth/games", |
742 "https://www.googleapis.com/auth/plus.login" | 878 "https://www.googleapis.com/auth/plus.login" |
743 ] | 879 ] |
744 } | 880 } |
745 } | 881 } |
746 }, | 882 }, |
747 "questMilestones": { | 883 "questMilestones": { |
748 "methods": { | 884 "methods": { |
749 "claim": { | 885 "claim": { |
750 "description": "Report that a reward for the milestone corre
sponding to milestoneId for the quest corresponding to questId has been claimed
by the currently authorized user.", | 886 "description": "Report that a reward for the milestone corre
sponding to milestoneId for the quest corresponding to questId has been claimed
by the currently authorized user.", |
751 "httpMethod": "PUT", | 887 "httpMethod": "PUT", |
752 "id": "games.questMilestones.claim", | 888 "id": "games.questMilestones.claim", |
753 "parameterOrder": [ | 889 "parameterOrder": [ |
754 "questId", | 890 "questId", |
755 "milestoneId", | 891 "milestoneId", |
756 "requestId" | 892 "requestId" |
757 ], | 893 ], |
758 "parameters": { | 894 "parameters": { |
| 895 "consistencyToken": { |
| 896 "description": "The last-seen mutation timestamp.", |
| 897 "format": "int64", |
| 898 "location": "query", |
| 899 "type": "string" |
| 900 }, |
759 "milestoneId": { | 901 "milestoneId": { |
760 "description": "The ID of the milestone.", | 902 "description": "The ID of the milestone.", |
761 "location": "path", | 903 "location": "path", |
762 "required": true, | 904 "required": true, |
763 "type": "string" | 905 "type": "string" |
764 }, | 906 }, |
765 "questId": { | 907 "questId": { |
766 "description": "The ID of the quest.", | 908 "description": "The ID of the quest.", |
767 "location": "path", | 909 "location": "path", |
768 "required": true, | 910 "required": true, |
(...skipping 18 matching lines...) Expand all Loading... |
787 "quests": { | 929 "quests": { |
788 "methods": { | 930 "methods": { |
789 "accept": { | 931 "accept": { |
790 "description": "Indicates that the currently authorized user
will participate in the quest.", | 932 "description": "Indicates that the currently authorized user
will participate in the quest.", |
791 "httpMethod": "POST", | 933 "httpMethod": "POST", |
792 "id": "games.quests.accept", | 934 "id": "games.quests.accept", |
793 "parameterOrder": [ | 935 "parameterOrder": [ |
794 "questId" | 936 "questId" |
795 ], | 937 ], |
796 "parameters": { | 938 "parameters": { |
| 939 "consistencyToken": { |
| 940 "description": "The last-seen mutation timestamp.", |
| 941 "format": "int64", |
| 942 "location": "query", |
| 943 "type": "string" |
| 944 }, |
797 "language": { | 945 "language": { |
798 "description": "The preferred language to use for st
rings returned by this method.", | 946 "description": "The preferred language to use for st
rings returned by this method.", |
799 "location": "query", | 947 "location": "query", |
800 "type": "string" | 948 "type": "string" |
801 }, | 949 }, |
802 "questId": { | 950 "questId": { |
803 "description": "The ID of the quest.", | 951 "description": "The ID of the quest.", |
804 "location": "path", | 952 "location": "path", |
805 "required": true, | 953 "required": true, |
806 "type": "string" | 954 "type": "string" |
807 } | 955 } |
808 }, | 956 }, |
809 "path": "quests/{questId}/accept", | 957 "path": "quests/{questId}/accept", |
810 "response": { | 958 "response": { |
811 "$ref": "Quest" | 959 "$ref": "Quest" |
812 }, | 960 }, |
813 "scopes": [ | 961 "scopes": [ |
814 "https://www.googleapis.com/auth/games", | 962 "https://www.googleapis.com/auth/games", |
815 "https://www.googleapis.com/auth/plus.login" | 963 "https://www.googleapis.com/auth/plus.login" |
816 ] | 964 ] |
817 }, | 965 }, |
818 "list": { | 966 "list": { |
819 "description": "Get a list of quests for your application an
d the currently authenticated player.", | 967 "description": "Get a list of quests for your application an
d the currently authenticated player.", |
820 "httpMethod": "GET", | 968 "httpMethod": "GET", |
821 "id": "games.quests.list", | 969 "id": "games.quests.list", |
822 "parameterOrder": [ | 970 "parameterOrder": [ |
823 "playerId" | 971 "playerId" |
824 ], | 972 ], |
825 "parameters": { | 973 "parameters": { |
| 974 "consistencyToken": { |
| 975 "description": "The last-seen mutation timestamp.", |
| 976 "format": "int64", |
| 977 "location": "query", |
| 978 "type": "string" |
| 979 }, |
826 "language": { | 980 "language": { |
827 "description": "The preferred language to use for st
rings returned by this method.", | 981 "description": "The preferred language to use for st
rings returned by this method.", |
828 "location": "query", | 982 "location": "query", |
829 "type": "string" | 983 "type": "string" |
830 }, | 984 }, |
831 "maxResults": { | 985 "maxResults": { |
832 "description": "The maximum number of quest resource
s to return in the response, used for paging. For any response, the actual numbe
r of quest resources returned may be less than the specified maxResults. Accepta
ble values are 1 to 50, inclusive. (Default: 50).", | 986 "description": "The maximum number of quest resource
s to return in the response, used for paging. For any response, the actual numbe
r of quest resources returned may be less than the specified maxResults. Accepta
ble values are 1 to 50, inclusive. (Default: 50).", |
833 "format": "int32", | 987 "format": "int32", |
834 "location": "query", | 988 "location": "query", |
835 "maximum": "50", | 989 "maximum": "50", |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
867 "id": "games.revisions.check", | 1021 "id": "games.revisions.check", |
868 "parameterOrder": [ | 1022 "parameterOrder": [ |
869 "clientRevision" | 1023 "clientRevision" |
870 ], | 1024 ], |
871 "parameters": { | 1025 "parameters": { |
872 "clientRevision": { | 1026 "clientRevision": { |
873 "description": "The revision of the client SDK used
by your application. Format:\n[PLATFORM_TYPE]:[VERSION_NUMBER]. Possible values
of PLATFORM_TYPE are:\n \n- \"ANDROID\" - Client is running the Android SDK. \n-
\"IOS\" - Client is running the iOS SDK. \n- \"WEB_APP\" - Client is running as
a Web App.", | 1027 "description": "The revision of the client SDK used
by your application. Format:\n[PLATFORM_TYPE]:[VERSION_NUMBER]. Possible values
of PLATFORM_TYPE are:\n \n- \"ANDROID\" - Client is running the Android SDK. \n-
\"IOS\" - Client is running the iOS SDK. \n- \"WEB_APP\" - Client is running as
a Web App.", |
874 "location": "query", | 1028 "location": "query", |
875 "required": true, | 1029 "required": true, |
876 "type": "string" | 1030 "type": "string" |
| 1031 }, |
| 1032 "consistencyToken": { |
| 1033 "description": "The last-seen mutation timestamp.", |
| 1034 "format": "int64", |
| 1035 "location": "query", |
| 1036 "type": "string" |
877 } | 1037 } |
878 }, | 1038 }, |
879 "path": "revisions/check", | 1039 "path": "revisions/check", |
880 "response": { | 1040 "response": { |
881 "$ref": "RevisionCheckResponse" | 1041 "$ref": "RevisionCheckResponse" |
882 }, | 1042 }, |
883 "scopes": [ | 1043 "scopes": [ |
884 "https://www.googleapis.com/auth/games", | 1044 "https://www.googleapis.com/auth/games", |
885 "https://www.googleapis.com/auth/plus.login" | 1045 "https://www.googleapis.com/auth/plus.login" |
886 ] | 1046 ] |
887 } | 1047 } |
888 } | 1048 } |
889 }, | 1049 }, |
890 "rooms": { | 1050 "rooms": { |
891 "methods": { | 1051 "methods": { |
892 "create": { | 1052 "create": { |
893 "description": "Create a room. For internal use by the Games
SDK only. Calling this method directly is unsupported.", | 1053 "description": "Create a room. For internal use by the Games
SDK only. Calling this method directly is unsupported.", |
894 "httpMethod": "POST", | 1054 "httpMethod": "POST", |
895 "id": "games.rooms.create", | 1055 "id": "games.rooms.create", |
896 "parameters": { | 1056 "parameters": { |
| 1057 "consistencyToken": { |
| 1058 "description": "The last-seen mutation timestamp.", |
| 1059 "format": "int64", |
| 1060 "location": "query", |
| 1061 "type": "string" |
| 1062 }, |
897 "language": { | 1063 "language": { |
898 "description": "The preferred language to use for st
rings returned by this method.", | 1064 "description": "The preferred language to use for st
rings returned by this method.", |
899 "location": "query", | 1065 "location": "query", |
900 "type": "string" | 1066 "type": "string" |
901 } | 1067 } |
902 }, | 1068 }, |
903 "path": "rooms/create", | 1069 "path": "rooms/create", |
904 "request": { | 1070 "request": { |
905 "$ref": "RoomCreateRequest" | 1071 "$ref": "RoomCreateRequest" |
906 }, | 1072 }, |
907 "response": { | 1073 "response": { |
908 "$ref": "Room" | 1074 "$ref": "Room" |
909 }, | 1075 }, |
910 "scopes": [ | 1076 "scopes": [ |
911 "https://www.googleapis.com/auth/games", | 1077 "https://www.googleapis.com/auth/games", |
912 "https://www.googleapis.com/auth/plus.login" | 1078 "https://www.googleapis.com/auth/plus.login" |
913 ] | 1079 ] |
914 }, | 1080 }, |
915 "decline": { | 1081 "decline": { |
916 "description": "Decline an invitation to join a room. For in
ternal use by the Games SDK only. Calling this method directly is unsupported.", | 1082 "description": "Decline an invitation to join a room. For in
ternal use by the Games SDK only. Calling this method directly is unsupported.", |
917 "httpMethod": "POST", | 1083 "httpMethod": "POST", |
918 "id": "games.rooms.decline", | 1084 "id": "games.rooms.decline", |
919 "parameterOrder": [ | 1085 "parameterOrder": [ |
920 "roomId" | 1086 "roomId" |
921 ], | 1087 ], |
922 "parameters": { | 1088 "parameters": { |
| 1089 "consistencyToken": { |
| 1090 "description": "The last-seen mutation timestamp.", |
| 1091 "format": "int64", |
| 1092 "location": "query", |
| 1093 "type": "string" |
| 1094 }, |
923 "language": { | 1095 "language": { |
924 "description": "The preferred language to use for st
rings returned by this method.", | 1096 "description": "The preferred language to use for st
rings returned by this method.", |
925 "location": "query", | 1097 "location": "query", |
926 "type": "string" | 1098 "type": "string" |
927 }, | 1099 }, |
928 "roomId": { | 1100 "roomId": { |
929 "description": "The ID of the room.", | 1101 "description": "The ID of the room.", |
930 "location": "path", | 1102 "location": "path", |
931 "required": true, | 1103 "required": true, |
932 "type": "string" | 1104 "type": "string" |
933 } | 1105 } |
934 }, | 1106 }, |
935 "path": "rooms/{roomId}/decline", | 1107 "path": "rooms/{roomId}/decline", |
936 "response": { | 1108 "response": { |
937 "$ref": "Room" | 1109 "$ref": "Room" |
938 }, | 1110 }, |
939 "scopes": [ | 1111 "scopes": [ |
940 "https://www.googleapis.com/auth/games", | 1112 "https://www.googleapis.com/auth/games", |
941 "https://www.googleapis.com/auth/plus.login" | 1113 "https://www.googleapis.com/auth/plus.login" |
942 ] | 1114 ] |
943 }, | 1115 }, |
944 "dismiss": { | 1116 "dismiss": { |
945 "description": "Dismiss an invitation to join a room. For in
ternal use by the Games SDK only. Calling this method directly is unsupported.", | 1117 "description": "Dismiss an invitation to join a room. For in
ternal use by the Games SDK only. Calling this method directly is unsupported.", |
946 "httpMethod": "POST", | 1118 "httpMethod": "POST", |
947 "id": "games.rooms.dismiss", | 1119 "id": "games.rooms.dismiss", |
948 "parameterOrder": [ | 1120 "parameterOrder": [ |
949 "roomId" | 1121 "roomId" |
950 ], | 1122 ], |
951 "parameters": { | 1123 "parameters": { |
| 1124 "consistencyToken": { |
| 1125 "description": "The last-seen mutation timestamp.", |
| 1126 "format": "int64", |
| 1127 "location": "query", |
| 1128 "type": "string" |
| 1129 }, |
952 "roomId": { | 1130 "roomId": { |
953 "description": "The ID of the room.", | 1131 "description": "The ID of the room.", |
954 "location": "path", | 1132 "location": "path", |
955 "required": true, | 1133 "required": true, |
956 "type": "string" | 1134 "type": "string" |
957 } | 1135 } |
958 }, | 1136 }, |
959 "path": "rooms/{roomId}/dismiss", | 1137 "path": "rooms/{roomId}/dismiss", |
960 "scopes": [ | 1138 "scopes": [ |
961 "https://www.googleapis.com/auth/games", | 1139 "https://www.googleapis.com/auth/games", |
962 "https://www.googleapis.com/auth/plus.login" | 1140 "https://www.googleapis.com/auth/plus.login" |
963 ] | 1141 ] |
964 }, | 1142 }, |
965 "get": { | 1143 "get": { |
966 "description": "Get the data for a room.", | 1144 "description": "Get the data for a room.", |
967 "httpMethod": "GET", | 1145 "httpMethod": "GET", |
968 "id": "games.rooms.get", | 1146 "id": "games.rooms.get", |
969 "parameterOrder": [ | 1147 "parameterOrder": [ |
970 "roomId" | 1148 "roomId" |
971 ], | 1149 ], |
972 "parameters": { | 1150 "parameters": { |
| 1151 "consistencyToken": { |
| 1152 "description": "The last-seen mutation timestamp.", |
| 1153 "format": "int64", |
| 1154 "location": "query", |
| 1155 "type": "string" |
| 1156 }, |
973 "language": { | 1157 "language": { |
974 "description": "The preferred language to use for st
rings returned by this method.", | 1158 "description": "The preferred language to use for st
rings returned by this method.", |
975 "location": "query", | 1159 "location": "query", |
976 "type": "string" | 1160 "type": "string" |
977 }, | 1161 }, |
978 "roomId": { | 1162 "roomId": { |
979 "description": "The ID of the room.", | 1163 "description": "The ID of the room.", |
980 "location": "path", | 1164 "location": "path", |
981 "required": true, | 1165 "required": true, |
982 "type": "string" | 1166 "type": "string" |
983 } | 1167 } |
984 }, | 1168 }, |
985 "path": "rooms/{roomId}", | 1169 "path": "rooms/{roomId}", |
986 "response": { | 1170 "response": { |
987 "$ref": "Room" | 1171 "$ref": "Room" |
988 }, | 1172 }, |
989 "scopes": [ | 1173 "scopes": [ |
990 "https://www.googleapis.com/auth/games", | 1174 "https://www.googleapis.com/auth/games", |
991 "https://www.googleapis.com/auth/plus.login" | 1175 "https://www.googleapis.com/auth/plus.login" |
992 ] | 1176 ] |
993 }, | 1177 }, |
994 "join": { | 1178 "join": { |
995 "description": "Join a room. For internal use by the Games S
DK only. Calling this method directly is unsupported.", | 1179 "description": "Join a room. For internal use by the Games S
DK only. Calling this method directly is unsupported.", |
996 "httpMethod": "POST", | 1180 "httpMethod": "POST", |
997 "id": "games.rooms.join", | 1181 "id": "games.rooms.join", |
998 "parameterOrder": [ | 1182 "parameterOrder": [ |
999 "roomId" | 1183 "roomId" |
1000 ], | 1184 ], |
1001 "parameters": { | 1185 "parameters": { |
| 1186 "consistencyToken": { |
| 1187 "description": "The last-seen mutation timestamp.", |
| 1188 "format": "int64", |
| 1189 "location": "query", |
| 1190 "type": "string" |
| 1191 }, |
1002 "language": { | 1192 "language": { |
1003 "description": "The preferred language to use for st
rings returned by this method.", | 1193 "description": "The preferred language to use for st
rings returned by this method.", |
1004 "location": "query", | 1194 "location": "query", |
1005 "type": "string" | 1195 "type": "string" |
1006 }, | 1196 }, |
1007 "roomId": { | 1197 "roomId": { |
1008 "description": "The ID of the room.", | 1198 "description": "The ID of the room.", |
1009 "location": "path", | 1199 "location": "path", |
1010 "required": true, | 1200 "required": true, |
1011 "type": "string" | 1201 "type": "string" |
(...skipping 12 matching lines...) Expand all Loading... |
1024 ] | 1214 ] |
1025 }, | 1215 }, |
1026 "leave": { | 1216 "leave": { |
1027 "description": "Leave a room. For internal use by the Games
SDK only. Calling this method directly is unsupported.", | 1217 "description": "Leave a room. For internal use by the Games
SDK only. Calling this method directly is unsupported.", |
1028 "httpMethod": "POST", | 1218 "httpMethod": "POST", |
1029 "id": "games.rooms.leave", | 1219 "id": "games.rooms.leave", |
1030 "parameterOrder": [ | 1220 "parameterOrder": [ |
1031 "roomId" | 1221 "roomId" |
1032 ], | 1222 ], |
1033 "parameters": { | 1223 "parameters": { |
| 1224 "consistencyToken": { |
| 1225 "description": "The last-seen mutation timestamp.", |
| 1226 "format": "int64", |
| 1227 "location": "query", |
| 1228 "type": "string" |
| 1229 }, |
1034 "language": { | 1230 "language": { |
1035 "description": "The preferred language to use for st
rings returned by this method.", | 1231 "description": "The preferred language to use for st
rings returned by this method.", |
1036 "location": "query", | 1232 "location": "query", |
1037 "type": "string" | 1233 "type": "string" |
1038 }, | 1234 }, |
1039 "roomId": { | 1235 "roomId": { |
1040 "description": "The ID of the room.", | 1236 "description": "The ID of the room.", |
1041 "location": "path", | 1237 "location": "path", |
1042 "required": true, | 1238 "required": true, |
1043 "type": "string" | 1239 "type": "string" |
1044 } | 1240 } |
1045 }, | 1241 }, |
1046 "path": "rooms/{roomId}/leave", | 1242 "path": "rooms/{roomId}/leave", |
1047 "request": { | 1243 "request": { |
1048 "$ref": "RoomLeaveRequest" | 1244 "$ref": "RoomLeaveRequest" |
1049 }, | 1245 }, |
1050 "response": { | 1246 "response": { |
1051 "$ref": "Room" | 1247 "$ref": "Room" |
1052 }, | 1248 }, |
1053 "scopes": [ | 1249 "scopes": [ |
1054 "https://www.googleapis.com/auth/games", | 1250 "https://www.googleapis.com/auth/games", |
1055 "https://www.googleapis.com/auth/plus.login" | 1251 "https://www.googleapis.com/auth/plus.login" |
1056 ] | 1252 ] |
1057 }, | 1253 }, |
1058 "list": { | 1254 "list": { |
1059 "description": "Returns invitations to join rooms.", | 1255 "description": "Returns invitations to join rooms.", |
1060 "httpMethod": "GET", | 1256 "httpMethod": "GET", |
1061 "id": "games.rooms.list", | 1257 "id": "games.rooms.list", |
1062 "parameters": { | 1258 "parameters": { |
| 1259 "consistencyToken": { |
| 1260 "description": "The last-seen mutation timestamp.", |
| 1261 "format": "int64", |
| 1262 "location": "query", |
| 1263 "type": "string" |
| 1264 }, |
1063 "language": { | 1265 "language": { |
1064 "description": "The preferred language to use for st
rings returned by this method.", | 1266 "description": "The preferred language to use for st
rings returned by this method.", |
1065 "location": "query", | 1267 "location": "query", |
1066 "type": "string" | 1268 "type": "string" |
1067 }, | 1269 }, |
1068 "maxResults": { | 1270 "maxResults": { |
1069 "description": "The maximum number of rooms to retur
n in the response, used for paging. For any response, the actual number of rooms
to return may be less than the specified maxResults.", | 1271 "description": "The maximum number of rooms to retur
n in the response, used for paging. For any response, the actual number of rooms
to return may be less than the specified maxResults.", |
1070 "format": "int32", | 1272 "format": "int32", |
1071 "location": "query", | 1273 "location": "query", |
1072 "maximum": "500", | 1274 "maximum": "500", |
(...skipping 16 matching lines...) Expand all Loading... |
1089 ] | 1291 ] |
1090 }, | 1292 }, |
1091 "reportStatus": { | 1293 "reportStatus": { |
1092 "description": "Updates sent by a client reporting the statu
s of peers in a room. For internal use by the Games SDK only. Calling this metho
d directly is unsupported.", | 1294 "description": "Updates sent by a client reporting the statu
s of peers in a room. For internal use by the Games SDK only. Calling this metho
d directly is unsupported.", |
1093 "httpMethod": "POST", | 1295 "httpMethod": "POST", |
1094 "id": "games.rooms.reportStatus", | 1296 "id": "games.rooms.reportStatus", |
1095 "parameterOrder": [ | 1297 "parameterOrder": [ |
1096 "roomId" | 1298 "roomId" |
1097 ], | 1299 ], |
1098 "parameters": { | 1300 "parameters": { |
| 1301 "consistencyToken": { |
| 1302 "description": "The last-seen mutation timestamp.", |
| 1303 "format": "int64", |
| 1304 "location": "query", |
| 1305 "type": "string" |
| 1306 }, |
1099 "language": { | 1307 "language": { |
1100 "description": "The preferred language to use for st
rings returned by this method.", | 1308 "description": "The preferred language to use for st
rings returned by this method.", |
1101 "location": "query", | 1309 "location": "query", |
1102 "type": "string" | 1310 "type": "string" |
1103 }, | 1311 }, |
1104 "roomId": { | 1312 "roomId": { |
1105 "description": "The ID of the room.", | 1313 "description": "The ID of the room.", |
1106 "location": "path", | 1314 "location": "path", |
1107 "required": true, | 1315 "required": true, |
1108 "type": "string" | 1316 "type": "string" |
(...skipping 18 matching lines...) Expand all Loading... |
1127 "get": { | 1335 "get": { |
1128 "description": "Get high scores, and optionally ranks, in le
aderboards for the currently authenticated player. For a specific time span, lea
derboardId can be set to ALL to retrieve data for all leaderboards in a given ti
me span.\nNOTE: You cannot ask for 'ALL' leaderboards and 'ALL' timeSpans in the
same request; only one parameter may be set to 'ALL'.", | 1336 "description": "Get high scores, and optionally ranks, in le
aderboards for the currently authenticated player. For a specific time span, lea
derboardId can be set to ALL to retrieve data for all leaderboards in a given ti
me span.\nNOTE: You cannot ask for 'ALL' leaderboards and 'ALL' timeSpans in the
same request; only one parameter may be set to 'ALL'.", |
1129 "httpMethod": "GET", | 1337 "httpMethod": "GET", |
1130 "id": "games.scores.get", | 1338 "id": "games.scores.get", |
1131 "parameterOrder": [ | 1339 "parameterOrder": [ |
1132 "playerId", | 1340 "playerId", |
1133 "leaderboardId", | 1341 "leaderboardId", |
1134 "timeSpan" | 1342 "timeSpan" |
1135 ], | 1343 ], |
1136 "parameters": { | 1344 "parameters": { |
| 1345 "consistencyToken": { |
| 1346 "description": "The last-seen mutation timestamp.", |
| 1347 "format": "int64", |
| 1348 "location": "query", |
| 1349 "type": "string" |
| 1350 }, |
1137 "includeRankType": { | 1351 "includeRankType": { |
1138 "description": "The types of ranks to return. If the
parameter is omitted, no ranks will be returned.", | 1352 "description": "The types of ranks to return. If the
parameter is omitted, no ranks will be returned.", |
1139 "enum": [ | 1353 "enum": [ |
1140 "ALL", | 1354 "ALL", |
1141 "PUBLIC", | 1355 "PUBLIC", |
1142 "SOCIAL" | 1356 "SOCIAL" |
1143 ], | 1357 ], |
1144 "enumDescriptions": [ | 1358 "enumDescriptions": [ |
1145 "Retrieve public and social ranks.", | 1359 "Retrieve public and social ranks.", |
1146 "Retrieve public ranks, if the player is sharing
their gameplay activity publicly.", | 1360 "Retrieve public ranks, if the player is sharing
their gameplay activity publicly.", |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1226 ], | 1440 ], |
1227 "enumDescriptions": [ | 1441 "enumDescriptions": [ |
1228 "List all scores in the public leaderboard.", | 1442 "List all scores in the public leaderboard.", |
1229 "List only social scores.", | 1443 "List only social scores.", |
1230 "List only social scores, not respecting the fAC
L." | 1444 "List only social scores, not respecting the fAC
L." |
1231 ], | 1445 ], |
1232 "location": "path", | 1446 "location": "path", |
1233 "required": true, | 1447 "required": true, |
1234 "type": "string" | 1448 "type": "string" |
1235 }, | 1449 }, |
| 1450 "consistencyToken": { |
| 1451 "description": "The last-seen mutation timestamp.", |
| 1452 "format": "int64", |
| 1453 "location": "query", |
| 1454 "type": "string" |
| 1455 }, |
1236 "language": { | 1456 "language": { |
1237 "description": "The preferred language to use for st
rings returned by this method.", | 1457 "description": "The preferred language to use for st
rings returned by this method.", |
1238 "location": "query", | 1458 "location": "query", |
1239 "type": "string" | 1459 "type": "string" |
1240 }, | 1460 }, |
1241 "leaderboardId": { | 1461 "leaderboardId": { |
1242 "description": "The ID of the leaderboard.", | 1462 "description": "The ID of the leaderboard.", |
1243 "location": "path", | 1463 "location": "path", |
1244 "required": true, | 1464 "required": true, |
1245 "type": "string" | 1465 "type": "string" |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1302 ], | 1522 ], |
1303 "enumDescriptions": [ | 1523 "enumDescriptions": [ |
1304 "List all scores in the public leaderboard.", | 1524 "List all scores in the public leaderboard.", |
1305 "List only social scores.", | 1525 "List only social scores.", |
1306 "List only social scores, not respecting the fAC
L." | 1526 "List only social scores, not respecting the fAC
L." |
1307 ], | 1527 ], |
1308 "location": "path", | 1528 "location": "path", |
1309 "required": true, | 1529 "required": true, |
1310 "type": "string" | 1530 "type": "string" |
1311 }, | 1531 }, |
| 1532 "consistencyToken": { |
| 1533 "description": "The last-seen mutation timestamp.", |
| 1534 "format": "int64", |
| 1535 "location": "query", |
| 1536 "type": "string" |
| 1537 }, |
1312 "language": { | 1538 "language": { |
1313 "description": "The preferred language to use for st
rings returned by this method.", | 1539 "description": "The preferred language to use for st
rings returned by this method.", |
1314 "location": "query", | 1540 "location": "query", |
1315 "type": "string" | 1541 "type": "string" |
1316 }, | 1542 }, |
1317 "leaderboardId": { | 1543 "leaderboardId": { |
1318 "description": "The ID of the leaderboard.", | 1544 "description": "The ID of the leaderboard.", |
1319 "location": "path", | 1545 "location": "path", |
1320 "required": true, | 1546 "required": true, |
1321 "type": "string" | 1547 "type": "string" |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1372 }, | 1598 }, |
1373 "submit": { | 1599 "submit": { |
1374 "description": "Submits a score to the specified leaderboard
.", | 1600 "description": "Submits a score to the specified leaderboard
.", |
1375 "httpMethod": "POST", | 1601 "httpMethod": "POST", |
1376 "id": "games.scores.submit", | 1602 "id": "games.scores.submit", |
1377 "parameterOrder": [ | 1603 "parameterOrder": [ |
1378 "leaderboardId", | 1604 "leaderboardId", |
1379 "score" | 1605 "score" |
1380 ], | 1606 ], |
1381 "parameters": { | 1607 "parameters": { |
| 1608 "consistencyToken": { |
| 1609 "description": "The last-seen mutation timestamp.", |
| 1610 "format": "int64", |
| 1611 "location": "query", |
| 1612 "type": "string" |
| 1613 }, |
1382 "language": { | 1614 "language": { |
1383 "description": "The preferred language to use for st
rings returned by this method.", | 1615 "description": "The preferred language to use for st
rings returned by this method.", |
1384 "location": "query", | 1616 "location": "query", |
1385 "type": "string" | 1617 "type": "string" |
1386 }, | 1618 }, |
1387 "leaderboardId": { | 1619 "leaderboardId": { |
1388 "description": "The ID of the leaderboard.", | 1620 "description": "The ID of the leaderboard.", |
1389 "location": "path", | 1621 "location": "path", |
1390 "required": true, | 1622 "required": true, |
1391 "type": "string" | 1623 "type": "string" |
(...skipping 19 matching lines...) Expand all Loading... |
1411 "scopes": [ | 1643 "scopes": [ |
1412 "https://www.googleapis.com/auth/games", | 1644 "https://www.googleapis.com/auth/games", |
1413 "https://www.googleapis.com/auth/plus.login" | 1645 "https://www.googleapis.com/auth/plus.login" |
1414 ] | 1646 ] |
1415 }, | 1647 }, |
1416 "submitMultiple": { | 1648 "submitMultiple": { |
1417 "description": "Submits multiple scores to leaderboards.", | 1649 "description": "Submits multiple scores to leaderboards.", |
1418 "httpMethod": "POST", | 1650 "httpMethod": "POST", |
1419 "id": "games.scores.submitMultiple", | 1651 "id": "games.scores.submitMultiple", |
1420 "parameters": { | 1652 "parameters": { |
| 1653 "consistencyToken": { |
| 1654 "description": "The last-seen mutation timestamp.", |
| 1655 "format": "int64", |
| 1656 "location": "query", |
| 1657 "type": "string" |
| 1658 }, |
1421 "language": { | 1659 "language": { |
1422 "description": "The preferred language to use for st
rings returned by this method.", | 1660 "description": "The preferred language to use for st
rings returned by this method.", |
1423 "location": "query", | 1661 "location": "query", |
1424 "type": "string" | 1662 "type": "string" |
1425 } | 1663 } |
1426 }, | 1664 }, |
1427 "path": "leaderboards/scores", | 1665 "path": "leaderboards/scores", |
1428 "request": { | 1666 "request": { |
1429 "$ref": "PlayerScoreSubmissionList" | 1667 "$ref": "PlayerScoreSubmissionList" |
1430 }, | 1668 }, |
(...skipping 10 matching lines...) Expand all Loading... |
1441 "snapshots": { | 1679 "snapshots": { |
1442 "methods": { | 1680 "methods": { |
1443 "get": { | 1681 "get": { |
1444 "description": "Retrieves the metadata for a given snapshot
ID.", | 1682 "description": "Retrieves the metadata for a given snapshot
ID.", |
1445 "httpMethod": "GET", | 1683 "httpMethod": "GET", |
1446 "id": "games.snapshots.get", | 1684 "id": "games.snapshots.get", |
1447 "parameterOrder": [ | 1685 "parameterOrder": [ |
1448 "snapshotId" | 1686 "snapshotId" |
1449 ], | 1687 ], |
1450 "parameters": { | 1688 "parameters": { |
| 1689 "consistencyToken": { |
| 1690 "description": "The last-seen mutation timestamp.", |
| 1691 "format": "int64", |
| 1692 "location": "query", |
| 1693 "type": "string" |
| 1694 }, |
1451 "language": { | 1695 "language": { |
1452 "description": "The preferred language to use for st
rings returned by this method.", | 1696 "description": "The preferred language to use for st
rings returned by this method.", |
1453 "location": "query", | 1697 "location": "query", |
1454 "type": "string" | 1698 "type": "string" |
1455 }, | 1699 }, |
1456 "snapshotId": { | 1700 "snapshotId": { |
1457 "description": "The ID of the snapshot.", | 1701 "description": "The ID of the snapshot.", |
1458 "location": "path", | 1702 "location": "path", |
1459 "required": true, | 1703 "required": true, |
1460 "type": "string" | 1704 "type": "string" |
(...skipping 10 matching lines...) Expand all Loading... |
1471 ] | 1715 ] |
1472 }, | 1716 }, |
1473 "list": { | 1717 "list": { |
1474 "description": "Retrieves a list of snapshots created by you
r application for the player corresponding to the player ID.", | 1718 "description": "Retrieves a list of snapshots created by you
r application for the player corresponding to the player ID.", |
1475 "httpMethod": "GET", | 1719 "httpMethod": "GET", |
1476 "id": "games.snapshots.list", | 1720 "id": "games.snapshots.list", |
1477 "parameterOrder": [ | 1721 "parameterOrder": [ |
1478 "playerId" | 1722 "playerId" |
1479 ], | 1723 ], |
1480 "parameters": { | 1724 "parameters": { |
| 1725 "consistencyToken": { |
| 1726 "description": "The last-seen mutation timestamp.", |
| 1727 "format": "int64", |
| 1728 "location": "query", |
| 1729 "type": "string" |
| 1730 }, |
1481 "language": { | 1731 "language": { |
1482 "description": "The preferred language to use for st
rings returned by this method.", | 1732 "description": "The preferred language to use for st
rings returned by this method.", |
1483 "location": "query", | 1733 "location": "query", |
1484 "type": "string" | 1734 "type": "string" |
1485 }, | 1735 }, |
1486 "maxResults": { | 1736 "maxResults": { |
1487 "description": "The maximum number of snapshot resou
rces to return in the response, used for paging. For any response, the actual nu
mber of snapshot resources returned may be less than the specified maxResults.", | 1737 "description": "The maximum number of snapshot resou
rces to return in the response, used for paging. For any response, the actual nu
mber of snapshot resources returned may be less than the specified maxResults.", |
1488 "format": "int32", | 1738 "format": "int32", |
1489 "location": "query", | 1739 "location": "query", |
1490 "maximum": "25", | 1740 "maximum": "25", |
(...skipping 27 matching lines...) Expand all Loading... |
1518 "turnBasedMatches": { | 1768 "turnBasedMatches": { |
1519 "methods": { | 1769 "methods": { |
1520 "cancel": { | 1770 "cancel": { |
1521 "description": "Cancel a turn-based match.", | 1771 "description": "Cancel a turn-based match.", |
1522 "httpMethod": "PUT", | 1772 "httpMethod": "PUT", |
1523 "id": "games.turnBasedMatches.cancel", | 1773 "id": "games.turnBasedMatches.cancel", |
1524 "parameterOrder": [ | 1774 "parameterOrder": [ |
1525 "matchId" | 1775 "matchId" |
1526 ], | 1776 ], |
1527 "parameters": { | 1777 "parameters": { |
| 1778 "consistencyToken": { |
| 1779 "description": "The last-seen mutation timestamp.", |
| 1780 "format": "int64", |
| 1781 "location": "query", |
| 1782 "type": "string" |
| 1783 }, |
1528 "matchId": { | 1784 "matchId": { |
1529 "description": "The ID of the match.", | 1785 "description": "The ID of the match.", |
1530 "location": "path", | 1786 "location": "path", |
1531 "required": true, | 1787 "required": true, |
1532 "type": "string" | 1788 "type": "string" |
1533 } | 1789 } |
1534 }, | 1790 }, |
1535 "path": "turnbasedmatches/{matchId}/cancel", | 1791 "path": "turnbasedmatches/{matchId}/cancel", |
1536 "scopes": [ | 1792 "scopes": [ |
1537 "https://www.googleapis.com/auth/games", | 1793 "https://www.googleapis.com/auth/games", |
1538 "https://www.googleapis.com/auth/plus.login" | 1794 "https://www.googleapis.com/auth/plus.login" |
1539 ] | 1795 ] |
1540 }, | 1796 }, |
1541 "create": { | 1797 "create": { |
1542 "description": "Create a turn-based match.", | 1798 "description": "Create a turn-based match.", |
1543 "httpMethod": "POST", | 1799 "httpMethod": "POST", |
1544 "id": "games.turnBasedMatches.create", | 1800 "id": "games.turnBasedMatches.create", |
1545 "parameters": { | 1801 "parameters": { |
| 1802 "consistencyToken": { |
| 1803 "description": "The last-seen mutation timestamp.", |
| 1804 "format": "int64", |
| 1805 "location": "query", |
| 1806 "type": "string" |
| 1807 }, |
1546 "language": { | 1808 "language": { |
1547 "description": "The preferred language to use for st
rings returned by this method.", | 1809 "description": "The preferred language to use for st
rings returned by this method.", |
1548 "location": "query", | 1810 "location": "query", |
1549 "type": "string" | 1811 "type": "string" |
1550 } | 1812 } |
1551 }, | 1813 }, |
1552 "path": "turnbasedmatches/create", | 1814 "path": "turnbasedmatches/create", |
1553 "request": { | 1815 "request": { |
1554 "$ref": "TurnBasedMatchCreateRequest" | 1816 "$ref": "TurnBasedMatchCreateRequest" |
1555 }, | 1817 }, |
1556 "response": { | 1818 "response": { |
1557 "$ref": "TurnBasedMatch" | 1819 "$ref": "TurnBasedMatch" |
1558 }, | 1820 }, |
1559 "scopes": [ | 1821 "scopes": [ |
1560 "https://www.googleapis.com/auth/games", | 1822 "https://www.googleapis.com/auth/games", |
1561 "https://www.googleapis.com/auth/plus.login" | 1823 "https://www.googleapis.com/auth/plus.login" |
1562 ] | 1824 ] |
1563 }, | 1825 }, |
1564 "decline": { | 1826 "decline": { |
1565 "description": "Decline an invitation to play a turn-based m
atch.", | 1827 "description": "Decline an invitation to play a turn-based m
atch.", |
1566 "httpMethod": "PUT", | 1828 "httpMethod": "PUT", |
1567 "id": "games.turnBasedMatches.decline", | 1829 "id": "games.turnBasedMatches.decline", |
1568 "parameterOrder": [ | 1830 "parameterOrder": [ |
1569 "matchId" | 1831 "matchId" |
1570 ], | 1832 ], |
1571 "parameters": { | 1833 "parameters": { |
| 1834 "consistencyToken": { |
| 1835 "description": "The last-seen mutation timestamp.", |
| 1836 "format": "int64", |
| 1837 "location": "query", |
| 1838 "type": "string" |
| 1839 }, |
1572 "language": { | 1840 "language": { |
1573 "description": "The preferred language to use for st
rings returned by this method.", | 1841 "description": "The preferred language to use for st
rings returned by this method.", |
1574 "location": "query", | 1842 "location": "query", |
1575 "type": "string" | 1843 "type": "string" |
1576 }, | 1844 }, |
1577 "matchId": { | 1845 "matchId": { |
1578 "description": "The ID of the match.", | 1846 "description": "The ID of the match.", |
1579 "location": "path", | 1847 "location": "path", |
1580 "required": true, | 1848 "required": true, |
1581 "type": "string" | 1849 "type": "string" |
1582 } | 1850 } |
1583 }, | 1851 }, |
1584 "path": "turnbasedmatches/{matchId}/decline", | 1852 "path": "turnbasedmatches/{matchId}/decline", |
1585 "response": { | 1853 "response": { |
1586 "$ref": "TurnBasedMatch" | 1854 "$ref": "TurnBasedMatch" |
1587 }, | 1855 }, |
1588 "scopes": [ | 1856 "scopes": [ |
1589 "https://www.googleapis.com/auth/games", | 1857 "https://www.googleapis.com/auth/games", |
1590 "https://www.googleapis.com/auth/plus.login" | 1858 "https://www.googleapis.com/auth/plus.login" |
1591 ] | 1859 ] |
1592 }, | 1860 }, |
1593 "dismiss": { | 1861 "dismiss": { |
1594 "description": "Dismiss a turn-based match from the match li
st. The match will no longer show up in the list and will not generate notificat
ions.", | 1862 "description": "Dismiss a turn-based match from the match li
st. The match will no longer show up in the list and will not generate notificat
ions.", |
1595 "httpMethod": "PUT", | 1863 "httpMethod": "PUT", |
1596 "id": "games.turnBasedMatches.dismiss", | 1864 "id": "games.turnBasedMatches.dismiss", |
1597 "parameterOrder": [ | 1865 "parameterOrder": [ |
1598 "matchId" | 1866 "matchId" |
1599 ], | 1867 ], |
1600 "parameters": { | 1868 "parameters": { |
| 1869 "consistencyToken": { |
| 1870 "description": "The last-seen mutation timestamp.", |
| 1871 "format": "int64", |
| 1872 "location": "query", |
| 1873 "type": "string" |
| 1874 }, |
1601 "matchId": { | 1875 "matchId": { |
1602 "description": "The ID of the match.", | 1876 "description": "The ID of the match.", |
1603 "location": "path", | 1877 "location": "path", |
1604 "required": true, | 1878 "required": true, |
1605 "type": "string" | 1879 "type": "string" |
1606 } | 1880 } |
1607 }, | 1881 }, |
1608 "path": "turnbasedmatches/{matchId}/dismiss", | 1882 "path": "turnbasedmatches/{matchId}/dismiss", |
1609 "scopes": [ | 1883 "scopes": [ |
1610 "https://www.googleapis.com/auth/games", | 1884 "https://www.googleapis.com/auth/games", |
1611 "https://www.googleapis.com/auth/plus.login" | 1885 "https://www.googleapis.com/auth/plus.login" |
1612 ] | 1886 ] |
1613 }, | 1887 }, |
1614 "finish": { | 1888 "finish": { |
1615 "description": "Finish a turn-based match. Each player shoul
d make this call once, after all results are in. Only the player whose turn it i
s may make the first call to Finish, and can pass in the final match state.", | 1889 "description": "Finish a turn-based match. Each player shoul
d make this call once, after all results are in. Only the player whose turn it i
s may make the first call to Finish, and can pass in the final match state.", |
1616 "httpMethod": "PUT", | 1890 "httpMethod": "PUT", |
1617 "id": "games.turnBasedMatches.finish", | 1891 "id": "games.turnBasedMatches.finish", |
1618 "parameterOrder": [ | 1892 "parameterOrder": [ |
1619 "matchId" | 1893 "matchId" |
1620 ], | 1894 ], |
1621 "parameters": { | 1895 "parameters": { |
| 1896 "consistencyToken": { |
| 1897 "description": "The last-seen mutation timestamp.", |
| 1898 "format": "int64", |
| 1899 "location": "query", |
| 1900 "type": "string" |
| 1901 }, |
1622 "language": { | 1902 "language": { |
1623 "description": "The preferred language to use for st
rings returned by this method.", | 1903 "description": "The preferred language to use for st
rings returned by this method.", |
1624 "location": "query", | 1904 "location": "query", |
1625 "type": "string" | 1905 "type": "string" |
1626 }, | 1906 }, |
1627 "matchId": { | 1907 "matchId": { |
1628 "description": "The ID of the match.", | 1908 "description": "The ID of the match.", |
1629 "location": "path", | 1909 "location": "path", |
1630 "required": true, | 1910 "required": true, |
1631 "type": "string" | 1911 "type": "string" |
(...skipping 12 matching lines...) Expand all Loading... |
1644 ] | 1924 ] |
1645 }, | 1925 }, |
1646 "get": { | 1926 "get": { |
1647 "description": "Get the data for a turn-based match.", | 1927 "description": "Get the data for a turn-based match.", |
1648 "httpMethod": "GET", | 1928 "httpMethod": "GET", |
1649 "id": "games.turnBasedMatches.get", | 1929 "id": "games.turnBasedMatches.get", |
1650 "parameterOrder": [ | 1930 "parameterOrder": [ |
1651 "matchId" | 1931 "matchId" |
1652 ], | 1932 ], |
1653 "parameters": { | 1933 "parameters": { |
| 1934 "consistencyToken": { |
| 1935 "description": "The last-seen mutation timestamp.", |
| 1936 "format": "int64", |
| 1937 "location": "query", |
| 1938 "type": "string" |
| 1939 }, |
1654 "includeMatchData": { | 1940 "includeMatchData": { |
1655 "description": "Get match data along with metadata."
, | 1941 "description": "Get match data along with metadata."
, |
1656 "location": "query", | 1942 "location": "query", |
1657 "type": "boolean" | 1943 "type": "boolean" |
1658 }, | 1944 }, |
1659 "language": { | 1945 "language": { |
1660 "description": "The preferred language to use for st
rings returned by this method.", | 1946 "description": "The preferred language to use for st
rings returned by this method.", |
1661 "location": "query", | 1947 "location": "query", |
1662 "type": "string" | 1948 "type": "string" |
1663 }, | 1949 }, |
(...skipping 14 matching lines...) Expand all Loading... |
1678 ] | 1964 ] |
1679 }, | 1965 }, |
1680 "join": { | 1966 "join": { |
1681 "description": "Join a turn-based match.", | 1967 "description": "Join a turn-based match.", |
1682 "httpMethod": "PUT", | 1968 "httpMethod": "PUT", |
1683 "id": "games.turnBasedMatches.join", | 1969 "id": "games.turnBasedMatches.join", |
1684 "parameterOrder": [ | 1970 "parameterOrder": [ |
1685 "matchId" | 1971 "matchId" |
1686 ], | 1972 ], |
1687 "parameters": { | 1973 "parameters": { |
| 1974 "consistencyToken": { |
| 1975 "description": "The last-seen mutation timestamp.", |
| 1976 "format": "int64", |
| 1977 "location": "query", |
| 1978 "type": "string" |
| 1979 }, |
1688 "language": { | 1980 "language": { |
1689 "description": "The preferred language to use for st
rings returned by this method.", | 1981 "description": "The preferred language to use for st
rings returned by this method.", |
1690 "location": "query", | 1982 "location": "query", |
1691 "type": "string" | 1983 "type": "string" |
1692 }, | 1984 }, |
1693 "matchId": { | 1985 "matchId": { |
1694 "description": "The ID of the match.", | 1986 "description": "The ID of the match.", |
1695 "location": "path", | 1987 "location": "path", |
1696 "required": true, | 1988 "required": true, |
1697 "type": "string" | 1989 "type": "string" |
1698 } | 1990 } |
1699 }, | 1991 }, |
1700 "path": "turnbasedmatches/{matchId}/join", | 1992 "path": "turnbasedmatches/{matchId}/join", |
1701 "response": { | 1993 "response": { |
1702 "$ref": "TurnBasedMatch" | 1994 "$ref": "TurnBasedMatch" |
1703 }, | 1995 }, |
1704 "scopes": [ | 1996 "scopes": [ |
1705 "https://www.googleapis.com/auth/games", | 1997 "https://www.googleapis.com/auth/games", |
1706 "https://www.googleapis.com/auth/plus.login" | 1998 "https://www.googleapis.com/auth/plus.login" |
1707 ] | 1999 ] |
1708 }, | 2000 }, |
1709 "leave": { | 2001 "leave": { |
1710 "description": "Leave a turn-based match when it is not the
current player's turn, without canceling the match.", | 2002 "description": "Leave a turn-based match when it is not the
current player's turn, without canceling the match.", |
1711 "httpMethod": "PUT", | 2003 "httpMethod": "PUT", |
1712 "id": "games.turnBasedMatches.leave", | 2004 "id": "games.turnBasedMatches.leave", |
1713 "parameterOrder": [ | 2005 "parameterOrder": [ |
1714 "matchId" | 2006 "matchId" |
1715 ], | 2007 ], |
1716 "parameters": { | 2008 "parameters": { |
| 2009 "consistencyToken": { |
| 2010 "description": "The last-seen mutation timestamp.", |
| 2011 "format": "int64", |
| 2012 "location": "query", |
| 2013 "type": "string" |
| 2014 }, |
1717 "language": { | 2015 "language": { |
1718 "description": "The preferred language to use for st
rings returned by this method.", | 2016 "description": "The preferred language to use for st
rings returned by this method.", |
1719 "location": "query", | 2017 "location": "query", |
1720 "type": "string" | 2018 "type": "string" |
1721 }, | 2019 }, |
1722 "matchId": { | 2020 "matchId": { |
1723 "description": "The ID of the match.", | 2021 "description": "The ID of the match.", |
1724 "location": "path", | 2022 "location": "path", |
1725 "required": true, | 2023 "required": true, |
1726 "type": "string" | 2024 "type": "string" |
(...skipping 10 matching lines...) Expand all Loading... |
1737 }, | 2035 }, |
1738 "leaveTurn": { | 2036 "leaveTurn": { |
1739 "description": "Leave a turn-based match during the current
player's turn, without canceling the match.", | 2037 "description": "Leave a turn-based match during the current
player's turn, without canceling the match.", |
1740 "httpMethod": "PUT", | 2038 "httpMethod": "PUT", |
1741 "id": "games.turnBasedMatches.leaveTurn", | 2039 "id": "games.turnBasedMatches.leaveTurn", |
1742 "parameterOrder": [ | 2040 "parameterOrder": [ |
1743 "matchId", | 2041 "matchId", |
1744 "matchVersion" | 2042 "matchVersion" |
1745 ], | 2043 ], |
1746 "parameters": { | 2044 "parameters": { |
| 2045 "consistencyToken": { |
| 2046 "description": "The last-seen mutation timestamp.", |
| 2047 "format": "int64", |
| 2048 "location": "query", |
| 2049 "type": "string" |
| 2050 }, |
1747 "language": { | 2051 "language": { |
1748 "description": "The preferred language to use for st
rings returned by this method.", | 2052 "description": "The preferred language to use for st
rings returned by this method.", |
1749 "location": "query", | 2053 "location": "query", |
1750 "type": "string" | 2054 "type": "string" |
1751 }, | 2055 }, |
1752 "matchId": { | 2056 "matchId": { |
1753 "description": "The ID of the match.", | 2057 "description": "The ID of the match.", |
1754 "location": "path", | 2058 "location": "path", |
1755 "required": true, | 2059 "required": true, |
1756 "type": "string" | 2060 "type": "string" |
(...skipping 18 matching lines...) Expand all Loading... |
1775 "scopes": [ | 2079 "scopes": [ |
1776 "https://www.googleapis.com/auth/games", | 2080 "https://www.googleapis.com/auth/games", |
1777 "https://www.googleapis.com/auth/plus.login" | 2081 "https://www.googleapis.com/auth/plus.login" |
1778 ] | 2082 ] |
1779 }, | 2083 }, |
1780 "list": { | 2084 "list": { |
1781 "description": "Returns turn-based matches the player is or
was involved in.", | 2085 "description": "Returns turn-based matches the player is or
was involved in.", |
1782 "httpMethod": "GET", | 2086 "httpMethod": "GET", |
1783 "id": "games.turnBasedMatches.list", | 2087 "id": "games.turnBasedMatches.list", |
1784 "parameters": { | 2088 "parameters": { |
| 2089 "consistencyToken": { |
| 2090 "description": "The last-seen mutation timestamp.", |
| 2091 "format": "int64", |
| 2092 "location": "query", |
| 2093 "type": "string" |
| 2094 }, |
1785 "includeMatchData": { | 2095 "includeMatchData": { |
1786 "description": "True if match data should be returne
d in the response. Note that not all data will necessarily be returned if includ
e_match_data is true; the server may decide to only return data for some of the
matches to limit download size for the client. The remainder of the data for the
se matches will be retrievable on request.", | 2096 "description": "True if match data should be returne
d in the response. Note that not all data will necessarily be returned if includ
e_match_data is true; the server may decide to only return data for some of the
matches to limit download size for the client. The remainder of the data for the
se matches will be retrievable on request.", |
1787 "location": "query", | 2097 "location": "query", |
1788 "type": "boolean" | 2098 "type": "boolean" |
1789 }, | 2099 }, |
1790 "language": { | 2100 "language": { |
1791 "description": "The preferred language to use for st
rings returned by this method.", | 2101 "description": "The preferred language to use for st
rings returned by this method.", |
1792 "location": "query", | 2102 "location": "query", |
1793 "type": "string" | 2103 "type": "string" |
1794 }, | 2104 }, |
(...skipping 29 matching lines...) Expand all Loading... |
1824 ] | 2134 ] |
1825 }, | 2135 }, |
1826 "rematch": { | 2136 "rematch": { |
1827 "description": "Create a rematch of a match that was previou
sly completed, with the same participants. This can be called by only one player
on a match still in their list; the player must have called Finish first. Retur
ns the newly created match; it will be the caller's turn.", | 2137 "description": "Create a rematch of a match that was previou
sly completed, with the same participants. This can be called by only one player
on a match still in their list; the player must have called Finish first. Retur
ns the newly created match; it will be the caller's turn.", |
1828 "httpMethod": "POST", | 2138 "httpMethod": "POST", |
1829 "id": "games.turnBasedMatches.rematch", | 2139 "id": "games.turnBasedMatches.rematch", |
1830 "parameterOrder": [ | 2140 "parameterOrder": [ |
1831 "matchId" | 2141 "matchId" |
1832 ], | 2142 ], |
1833 "parameters": { | 2143 "parameters": { |
| 2144 "consistencyToken": { |
| 2145 "description": "The last-seen mutation timestamp.", |
| 2146 "format": "int64", |
| 2147 "location": "query", |
| 2148 "type": "string" |
| 2149 }, |
1834 "language": { | 2150 "language": { |
1835 "description": "The preferred language to use for st
rings returned by this method.", | 2151 "description": "The preferred language to use for st
rings returned by this method.", |
1836 "location": "query", | 2152 "location": "query", |
1837 "type": "string" | 2153 "type": "string" |
1838 }, | 2154 }, |
1839 "matchId": { | 2155 "matchId": { |
1840 "description": "The ID of the match.", | 2156 "description": "The ID of the match.", |
1841 "location": "path", | 2157 "location": "path", |
1842 "required": true, | 2158 "required": true, |
1843 "type": "string" | 2159 "type": "string" |
(...skipping 12 matching lines...) Expand all Loading... |
1856 "scopes": [ | 2172 "scopes": [ |
1857 "https://www.googleapis.com/auth/games", | 2173 "https://www.googleapis.com/auth/games", |
1858 "https://www.googleapis.com/auth/plus.login" | 2174 "https://www.googleapis.com/auth/plus.login" |
1859 ] | 2175 ] |
1860 }, | 2176 }, |
1861 "sync": { | 2177 "sync": { |
1862 "description": "Returns turn-based matches the player is or
was involved in that changed since the last sync call, with the least recent cha
nges coming first. Matches that should be removed from the local cache will have
a status of MATCH_DELETED.", | 2178 "description": "Returns turn-based matches the player is or
was involved in that changed since the last sync call, with the least recent cha
nges coming first. Matches that should be removed from the local cache will have
a status of MATCH_DELETED.", |
1863 "httpMethod": "GET", | 2179 "httpMethod": "GET", |
1864 "id": "games.turnBasedMatches.sync", | 2180 "id": "games.turnBasedMatches.sync", |
1865 "parameters": { | 2181 "parameters": { |
| 2182 "consistencyToken": { |
| 2183 "description": "The last-seen mutation timestamp.", |
| 2184 "format": "int64", |
| 2185 "location": "query", |
| 2186 "type": "string" |
| 2187 }, |
1866 "includeMatchData": { | 2188 "includeMatchData": { |
1867 "description": "True if match data should be returne
d in the response. Note that not all data will necessarily be returned if includ
e_match_data is true; the server may decide to only return data for some of the
matches to limit download size for the client. The remainder of the data for the
se matches will be retrievable on request.", | 2189 "description": "True if match data should be returne
d in the response. Note that not all data will necessarily be returned if includ
e_match_data is true; the server may decide to only return data for some of the
matches to limit download size for the client. The remainder of the data for the
se matches will be retrievable on request.", |
1868 "location": "query", | 2190 "location": "query", |
1869 "type": "boolean" | 2191 "type": "boolean" |
1870 }, | 2192 }, |
1871 "language": { | 2193 "language": { |
1872 "description": "The preferred language to use for st
rings returned by this method.", | 2194 "description": "The preferred language to use for st
rings returned by this method.", |
1873 "location": "query", | 2195 "location": "query", |
1874 "type": "string" | 2196 "type": "string" |
1875 }, | 2197 }, |
(...skipping 29 matching lines...) Expand all Loading... |
1905 ] | 2227 ] |
1906 }, | 2228 }, |
1907 "takeTurn": { | 2229 "takeTurn": { |
1908 "description": "Commit the results of a player turn.", | 2230 "description": "Commit the results of a player turn.", |
1909 "httpMethod": "PUT", | 2231 "httpMethod": "PUT", |
1910 "id": "games.turnBasedMatches.takeTurn", | 2232 "id": "games.turnBasedMatches.takeTurn", |
1911 "parameterOrder": [ | 2233 "parameterOrder": [ |
1912 "matchId" | 2234 "matchId" |
1913 ], | 2235 ], |
1914 "parameters": { | 2236 "parameters": { |
| 2237 "consistencyToken": { |
| 2238 "description": "The last-seen mutation timestamp.", |
| 2239 "format": "int64", |
| 2240 "location": "query", |
| 2241 "type": "string" |
| 2242 }, |
1915 "language": { | 2243 "language": { |
1916 "description": "The preferred language to use for st
rings returned by this method.", | 2244 "description": "The preferred language to use for st
rings returned by this method.", |
1917 "location": "query", | 2245 "location": "query", |
1918 "type": "string" | 2246 "type": "string" |
1919 }, | 2247 }, |
1920 "matchId": { | 2248 "matchId": { |
1921 "description": "The ID of the match.", | 2249 "description": "The ID of the match.", |
1922 "location": "path", | 2250 "location": "path", |
1923 "required": true, | 2251 "required": true, |
1924 "type": "string" | 2252 "type": "string" |
1925 } | 2253 } |
1926 }, | 2254 }, |
1927 "path": "turnbasedmatches/{matchId}/turn", | 2255 "path": "turnbasedmatches/{matchId}/turn", |
1928 "request": { | 2256 "request": { |
1929 "$ref": "TurnBasedMatchTurn" | 2257 "$ref": "TurnBasedMatchTurn" |
1930 }, | 2258 }, |
1931 "response": { | 2259 "response": { |
1932 "$ref": "TurnBasedMatch" | 2260 "$ref": "TurnBasedMatch" |
1933 }, | 2261 }, |
1934 "scopes": [ | 2262 "scopes": [ |
1935 "https://www.googleapis.com/auth/games", | 2263 "https://www.googleapis.com/auth/games", |
1936 "https://www.googleapis.com/auth/plus.login" | 2264 "https://www.googleapis.com/auth/plus.login" |
1937 ] | 2265 ] |
1938 } | 2266 } |
1939 } | 2267 } |
1940 } | 2268 } |
1941 }, | 2269 }, |
1942 "revision": "20160512", | 2270 "revision": "20160530", |
1943 "rootUrl": "https://www.googleapis.com/", | 2271 "rootUrl": "https://www.googleapis.com/", |
1944 "schemas": { | 2272 "schemas": { |
1945 "AchievementDefinition": { | 2273 "AchievementDefinition": { |
1946 "description": "This is a JSON template for an achievement definitio
n object.", | 2274 "description": "This is a JSON template for an achievement definitio
n object.", |
1947 "id": "AchievementDefinition", | 2275 "id": "AchievementDefinition", |
1948 "properties": { | 2276 "properties": { |
1949 "achievementType": { | 2277 "achievementType": { |
1950 "description": "The type of the achievement.\nPossible value
s are: \n- \"STANDARD\" - Achievement is either locked or unlocked. \n- \"INCRE
MENTAL\" - Achievement is incremental.", | 2278 "description": "The type of the achievement.\nPossible value
s are: \n- \"STANDARD\" - Achievement is either locked or unlocked. \n- \"INCRE
MENTAL\" - Achievement is incremental.", |
1951 "type": "string" | 2279 "type": "string" |
1952 }, | 2280 }, |
(...skipping 2926 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4879 "type": "array" | 5207 "type": "array" |
4880 } | 5208 } |
4881 }, | 5209 }, |
4882 "type": "object" | 5210 "type": "object" |
4883 } | 5211 } |
4884 }, | 5212 }, |
4885 "servicePath": "games/v1/", | 5213 "servicePath": "games/v1/", |
4886 "title": "Google Play Game Services API", | 5214 "title": "Google Play Game Services API", |
4887 "version": "v1" | 5215 "version": "v1" |
4888 } | 5216 } |
OLD | NEW |