Scores (:3004) §
Scores §
distributeScores (post) §
- route:
api/commands/scores/distributeScores
- req:
- res:
- 200: okay
- 422: invalid parameters
- 500: internal error
Leaderboards §
getLeaderboards (get) §
- route:
api/commands/leaderboards/getLeaderboards
- req:
- res:
- 200: okay
- JSON
- LeaderboardPair ({global: GlobalLeaderboard, guild: GuildLeaderboard})
- 422: invalid parameters
- 500: internal error
getGuildLeaderboard (get) §
- route:
api/commands/leaderboards/getGuildLeaderboard
- req:
- res:
- 200: okay
- JSON
- GuildLeaderboard ({userID: UserID, score: Score})
- 422: invalid parameters
- 500: internal error
getGlobalLeaderboard (get) §
- route:
api/commands/leaderboards/getGlobalLeaderboard
- req:
- res:
- 200: okay
- JSON
- GlobalLeaderboard ({userID: UserID, score: Score})
- 422: invalid parameters
- 500: internal error