GET /sonolus/{type}/{itemName}/leaderboards/{leaderboardName}
/sonolus/{type}/{itemName}/leaderboards/{leaderboardName}
provides detailed information of leaderboard of name {leaderboardName}
in item of name {itemName}
, and is used by Sonolus app to populate server item details view's leaderboard section.
URL Parameters
URL Parameter | Value | Description |
---|
type | string | posts , playlists , levels , skins , backgrounds , effects , particles , engines , or replays . |
itemName | string | Name of item. |
leaderboardName | string | Name of leaderboard. |
Query Parameters
Request Body
None.
Response Code
Code | Description |
---|
200 OK | |
401 Unauthorized | Authentication required or expired. |
404 Not Found | |
Response Body
type ServerItemLeaderboardDetails = {
topRecords: ServerItemLeaderboardRecord[]
}
Examples