A silly lightweight Minecraft server API used for server statuses.
The following describes Compass's API calls.
This API call is used to initialize a server to the API, so that way calls to ping can be cached.
/v1/init
hostname: String,
port: Int,
protocolVersion: Int,
serverVersion: String,
maxPlayerCount: Int,
playerCount: List,
description: String,
favicon: String,
ping: Long,
averagePing: List,
numberOfPings: Long,
status: ServerError
lastClientPing: Long
This API call is used after initialization, and the call will now use the API cache. The response will also contain a smaller payload.
/v1/ping
playerCount: List,
ping: Long,
averagePing: List,
numberOfPings: Long,
status: ServerError