- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Retrieves the metadata of the leaderboard with the given ID.
HTTP request
GET https://games.googleapis.com/games/v1/leaderboards/{leaderboardId}
Path parameters
Parameters | |
---|---|
leaderboardId |
The ID of the leaderboard. |
Query parameters
Parameters | |
---|---|
language |
The preferred language to use for strings returned by this method. |
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of Leaderboard
.
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.