Can users view past leaderboard rankings after resetting the leaderboard?
Can users view past leaderboard rankings after resetting the leaderboard?
If you mean you want users to view past leaderboard rankings after resetting, then you can let them can call API GetLeaderboard and set the request parameter “UseSpecificVersion” to true so that they can specify the “Version” of the leaderboard to retrieve. However, please note that you can only retrieve the current or one recent previous version of the leaderboard via this method. As Accessing Archived Tournament results - PlayFab | Microsoft Learn mentions that “All titles allow you to access the most recently archived version of a leaderboard, and this gives you the current and most previous versions. For example, if your current leaderboard version is 3, you may access only version 3 and archived version 2”. If you want to retrieve an older version (like version 1 or version 0), then you will receive the error "LeaderboardVersionNotAvailable". In addition, you can retrieve the top 10 players via setting the parameter “StartPosition”. For more info, you can refer to my testing request body :
{
"StatisticName": "Test",
"StartPosition": 0,
"MaxResultsCount": 10,
"UseSpecificVersion": true,
"Version": 2
}
1 Person is following this question.