Skip to main content
Version: 5.7.0

GetGlobalLeaderboardPage

Retrieve a page of the global leaderboard specified by the start and end indexes (0-based).

ServiceOperation
leaderboardGET_GLOBAL_LEADERBOARD_PAGE

Method Parameters

ParameterDescription
leaderboardIdThe id of the leaderboard.
sortSort order of page. ("HIGH_TO_LOW" or "LOW_TO_HIGH")
startIndexThe rank at which to start the page.
endIndexThe rank at which to end the page.

Usage

http://localhost:3000
// S2S call: to view example, switch to the Cloud Code or Raw tab.