Lists all the leaderboard metadata for your application.
HTTP request
GET https://games.googleapis.com/games/v1/leaderboards
Query parameters
Parameters | |
---|---|
language |
The preferred language to use for strings returned by this method. |
maxResults |
The maximum number of leaderboards to return in the response. For any response, the actual number of leaderboards returned may be less than the specified |
pageToken |
The token returned by the previous request. |
Request body
The request body must be empty.
Response body
A list of leaderboard objects.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"kind": string,
"nextPageToken": string,
"items": [
{
object ( |
Fields | |
---|---|
kind |
Uniquely identifies the type of this resource. Value is always the fixed string |
nextPageToken |
Token corresponding to the next page of results. |
items[] |
The leaderboards. |
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/games
https://www.googleapis.com/auth/games_lite
For more information, see the OAuth 2.0 Overview.