Community Badges
Get badge leaderboard
get/community/{id}/badge/{badgeId}/leaderboard
Request
- Base URLhttps://api.openpage.fun/v1
- AuthAPI key in header X-Api-Key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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
perPageunknown
pageunknown
Response
Changes
No recorded changes to this operation across all 1 revision of this API.