v1
latestOpenAPI 3.0.02026-07-13433542.4 KBCommunity Badges
Get badge leaderboard
get/community/{id}/badge/{badgeId}/leaderboard
Path parameters
idstring required
Community ID
badgeIdstring required
Badge ID
Query parameters
metric'time' | 'score' | 'rank' | 'position' | 'points'
Determines the leaderboard based on a badge metadata metric. If no metrics are available the leaderboard is returned based on ascending order the badge was earned.
metricDirection'ASC' | 'DESC'
Direction to sort the leaderboard by metric
{"stackTrail":"paths:/community/{id}/badge/{badgeId}/leaderboard:get:parameters:4:schema","oasType":"schema","type":"unknown"}
{"stackTrail":"paths:/community/{id}/badge/{badgeId}/leaderboard:get:parameters:5:schema","oasType":"schema","type":"unknown"}