OBJECT

UserLeaderboard

UserLeaderboard contains a leaderboard whose entries are Users.

link GraphQL Schema definition

1type UserLeaderboard {
2
3# id is the id of this leaderboard.
4id: ID!
5
6# items is the list of users in the leaderboard ordered by their score.
7items: UserLeaderboardItemConnection!
8
9# myPosition contains the item representing the authed user's position on this
10# leaderboard.
11myPosition: UserLeaderboardItem
12
13# SecondsRemaining is the number of seconds left before the leaderboard expires
14# (or zero for all-time).
15secondsRemaining: Int!
16
17}