Server information
- GET /api/server
Added in version 1.5.0.
Retrieve information regarding server status. Returns a JSON object with two keys,
version
containing the server version andsafemode
containing one ofsettings
,incomplete_startup
orflag
to indicate the reason the server is running in safe mode, or the boolean value offalse
if it’s not running in safe mode.Example Request
GET /api/server HTTP/1.1 Host: example.com X-Api-Key: abcdef...
Example Response
HTTP/1.1 200 OK Content-Type: application/json { "version": "1.5.0", "safemode": "incomplete_startup" }
- Status Codes:
200 OK – No error