Returns the leaderboard level definitions with their point thresholds, plus the members excluded from ranking.
Endpoint
Method:
GETPath:
/admin/leaderboards/levelsEdition: PRO
Controller:
LeaderBoardController@getLevelsRoute source:
fluent-community-pro/app/Modules/LeaderBoard/Http/leaderboard_api.php:12Requires the FluentCommunity community-admin permission (or a WordPress super admin).
Requires FluentCommunity Pro; the excluded-member list includes email addresses.
Live sample
The request and response below were recorded against a running FluentCommunity install and then anonymised — member names, emails, avatars and post content are fictional, and long collections are trimmed to a few entries.
GET Get Leaderboard Levels
Returns the leaderboard level definitions with their point thresholds, plus the members excluded from ranking.
Controller: LeaderBoardController@getLevels
Route source: fluent-community-pro/app/Modules/LeaderBoard/Http/leaderboard_api.php:12
Authorizations
WordPress Application Passwords — use Basic auth with username:application_password.
Responses
Successful response