This replaces the --stat-port flag and HTTP endpoint with a new --api-addr flag, with a couple of additional administrative endpoints to provide functionality present in the original Hotline server UI but missing in Mobius.
POST /api/v1/shutdown - sends message to connected clients and shuts down the server
GET /api/v1/reload- reloads the configuration files from disk
GET /api/v1/stats - returns server runtime statistics and counters.
This replaces the
--stat-port
flag and HTTP endpoint with a new--api-addr
flag, with a couple of additional administrative endpoints to provide functionality present in the original Hotline server UI but missing in Mobius.POST /api/v1/shutdown - sends message to connected clients and shuts down the server
GET /api/v1/reload- reloads the configuration files from disk
GET /api/v1/stats
- returns server runtime statistics and counters.Fixes #4