GET /sonolus/{type}/{itemName}
/sonolus/{type}/{itemName}
provides detailed information of item of name {itemName}
, and is used by Sonolus app to populate server item details view.
URL Parameters
URL Parameter | Value | Description |
---|
type | string | posts , playlists , levels , skins , backgrounds , effects , particles , engines , or replays . |
itemName | string | Name of item. |
Query Parameters
Request Body
None.
Response Code
Code | Description |
---|
200 OK | |
401 Unauthorized | Authentication required or expired. |
404 Not Found | |
Response Body
type ServerItemDetails<T> = {
item: T
description?: string
actions: ServerForm[]
hasCommunity: boolean
leaderboards: ServerItemLeaderboard[]
sections: ServerItemSection[]
}
Examples
{
"item": {
},
"description": "Description of the item.",
"actions": [
],
"hasCommunity": true,
"leaderboards": [
],
"sections": [
]
}