# ListLeaderboardScoresResponse

- [JSON representation](https://developer.android.com/games/services/web/api/rest/v1/ListLeaderboardScoresResponse#SCHEMA_REPRESENTATION)
- [LeaderboardEntry](https://developer.android.com/games/services/web/api/rest/v1/ListLeaderboardScoresResponse#LeaderboardEntry)
  - [JSON representation](https://developer.android.com/games/services/web/api/rest/v1/ListLeaderboardScoresResponse#LeaderboardEntry.SCHEMA_REPRESENTATION)

A ListScores response.

|                                                                                                                                                                                JSON representation                                                                                                                                                                                |
|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| ``` { "kind": string, "nextPageToken": string, "prevPageToken": string, "numScores": string, "playerScore": { object (https://developer.android.com/games/services/web/api/rest/v1/ListLeaderboardScoresResponse#LeaderboardEntry) }, "items": [ { object (https://developer.android.com/games/services/web/api/rest/v1/ListLeaderboardScoresResponse#LeaderboardEntry) } ] } ``` |

|                                                                                                                                                                                                                                  Fields                                                                                                                                                                                                                                   ||
|-----------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `kind`          | `string` Uniquely identifies the type of this resource. Value is always the fixed string`games#leaderboardScores`.                                                                                                                                                                                                                                                                                                                                       |
| `nextPageToken` | `string` The pagination token for the next page of results.                                                                                                                                                                                                                                                                                                                                                                                              |
| `prevPageToken` | `string` The pagination token for the previous page of results.                                                                                                                                                                                                                                                                                                                                                                                          |
| `numScores`     | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` The total number of scores in the leaderboard.                                                                                                                                                                                                                                                                                                                       |
| `playerScore`   | `object (`[LeaderboardEntry](https://developer.android.com/games/services/web/api/rest/v1/ListLeaderboardScoresResponse#LeaderboardEntry)`)` The score of the requesting player on the leaderboard. The player's score may appear both here and in the list of scores above. If you are viewing a public leaderboard and the player is not sharing their gameplay information publicly, the`scoreRank`and`formattedScoreRank`values will not be present. |
| `items[]`       | `object (`[LeaderboardEntry](https://developer.android.com/games/services/web/api/rest/v1/ListLeaderboardScoresResponse#LeaderboardEntry)`)` The scores in the leaderboard.                                                                                                                                                                                                                                                                              |

## LeaderboardEntry

The Leaderboard Entry resource.

|                                                                                                                                                                                     JSON representation                                                                                                                                                                                     |
|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| ``` { "kind": string, "player": { object (https://developer.android.com/games/services/web/api/rest/v1/players#Player) }, "scoreRank": string, "formattedScoreRank": string, "scoreValue": string, "formattedScore": string, "timeSpan": enum (https://developer.android.com/games/services/web/api/rest/v1/scores#ScoreTimeSpan), "writeTimestampMillis": string, "scoreTag": string } ``` |

|                                                                                               Fields                                                                                                ||
|------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `kind`                 | `string` Uniquely identifies the type of this resource. Value is always the fixed string`games#leaderboardEntry`.                                                           |
| `player`               | `object (`[Player](https://developer.android.com/games/services/web/api/rest/v1/players#Player)`)` The player who holds this score.                                         |
| `scoreRank`            | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` The rank of this score for this leaderboard.                                            |
| `formattedScoreRank`   | `string` The localized string for the rank of this score for this leaderboard.                                                                                              |
| `scoreValue`           | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` The numerical value of this score.                                                      |
| `formattedScore`       | `string` The localized string for the numerical value of this score.                                                                                                        |
| `timeSpan`             | `enum (`[ScoreTimeSpan](https://developer.android.com/games/services/web/api/rest/v1/scores#ScoreTimeSpan)`)` The time span of this high score.                             |
| `writeTimestampMillis` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` The timestamp at which this score was recorded, in milliseconds since the epoch in UTC. |
| `scoreTag`             | `string` Additional information about the score. Values must contain no more than 64 URI-safe characters as defined by section 2.3 of RFC 3986.                             |