ListLeaderboardScoresResponse

A ListScores response.

JSON representation
{
  "kind": string,
  "nextPageToken": string,
  "prevPageToken": string,
  "numScores": string,
  "playerScore": {
    object (LeaderboardEntry)
  },
  "items": [
    {
      object (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 format)

The total number of scores in the leaderboard.

playerScore

object (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 scoreRankand formattedScoreRank values will not be present.

items[]

object (LeaderboardEntry)

The scores in the leaderboard.

LeaderboardEntry

The Leaderboard Entry resource.

JSON representation
{
  "kind": string,
  "player": {
    object (Player)
  },
  "scoreRank": string,
  "formattedScoreRank": string,
  "scoreValue": string,
  "formattedScore": string,
  "timeSpan": enum (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)

The player who holds this score.

scoreRank

string (int64 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 format)

The numerical value of this score.

formattedScore

string

The localized string for the numerical value of this score.

timeSpan

enum (ScoreTimeSpan)

The time span of this high score.

writeTimestampMillis

string (int64 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.