Control server instances externally via the embedded JSON HTTP framework listener.
When you enable the Web API option inside application Settings, WGS fires up a local HTTP listener on port 8765 by default. Navigating to http://localhost:8765/ui loads a responsive web layout, allowing you to cycle server nodes securely from mobile phones or external browsers on your LAN network.
All endpoints process requests securely and require a token passed via the Authorization: Bearer <token> header array element or via ?token= query parameters.
| Method | Route Path | Execution Action |
|---|---|---|
| GET | /api/servers | Returns structural configuration states for all nodes. |
| GET | /api/servers/{id} | Fetch atomic monitoring statistics details for one individual server profile. |
| POST | /api/servers/{id}/start | Signals initialization of a specific profile instance. |
| POST | /api/servers/{id}/stop | Sends graceful termination directives to target daemon clusters. |
| POST | /api/servers/{id}/backup | Triggers compression processes to archive live save paths instantly. |
| GET | /api/system | Returns host machine hardware metrics (CPU load, RAM pool metrics). |