Get server information
GET
/api/v1/server
Application/Json
| Key | Value | Type | Required |
|---|---|---|---|
| Authorization | Basic [key] | string | For Basic authentication mode only |
| Authorization | [key] | string | For Key-Basic and Key-Advanced authentication modes only |
No parameters
No parameters
| Authentication type | Key type | Allowed |
|---|---|---|
| Open | ![]() | |
| Basic | ![]() | |
| Key-Basic | ![]() | |
| Key-Advanced | Public key | ![]() |
| Key-Advanced | Protected key | ![]() |
| Key-Advanced | Admin key | ![]() |
{
"serverName": string, // - For Admin keys only
"serverVersion": string, // - For Admin keys only
"serverBukkitVersion": string, // - For Admin keys only
"serverIP": string, // - For Admin keys only
"serverPort": int,
"serverMotd": string,
"running": bool
}{
"success": bool,
"code": int,
"message": string
}| HTTP Code | Type |
|---|---|
| 200 | OK |
| 401 | Unauthorized |