GET /sonolus/info
/sonolus/info
provides information of the server, and is used by Sonolus app to populate server home page.
Query Parameters
Query Parameter | Value | Description |
---|
localization | string | See localization . |
Request Body
None.
Response Code
Code | Description |
---|
200 OK | |
401 Unauthorized | Authentication required or expired. |
Response Body
type ServerInfo = {
title: string
description?: string
hasAuthentication: boolean
hasMultiplayer: boolean
banner?: SRL
}
Examples
{
"title": "My Server Title",
"hasAuthentication": false,
"hasMultiplayer": true,
"banner": {
}
}