/sonolus/{type}/{itemName}/community/comments/list
provides comments information of item of name {itemName}
, and is used by Sonolus app to populate server item details view's community section's comment list.
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 ServerItemCommunityCommentList = {
pageCount: number
comments: ServerItemCommunityComment[]
}
pageCount
If -1
is used, the list is treated as having infinite pagination.
It is recommended to keep each page short by showing only 10 comments.
Examples
{
"pageCount": 5,
"comments": [
]
}