Server Updates
SteamCMD-driven auto-update configuration and credential management.
ServerUpdateController
- Route prefix:
api/server-update - Auth: All endpoints require admin role.
| Method | Path | Description | Request | Response |
|---|---|---|---|---|
| GET | /settings | Current update settings | ServerUpdateSettings | |
| PUT | /settings | Update settings | { autoUpdate, branch } | string |
| GET | /config-bak | Read the sticky serverconfig.xml.bak | { data } | |
| PUT | /config-bak | Write to serverconfig.xml.bak | { content } | string |
| POST | /steam-auth | Run steamcmd login to cache credentials | { password, guardCode } | string |
Notes
config-bakis the safety-net copy ofserverconfig.xmlthat can be restored after a Steam update overwrites the live file./steam-authkicks off an interactive SteamCMD login. The 2FA Steam Guard code is time-limited; if login fails, grab a fresh code and retry.- Cached credentials are per-server (stored in SteamCMD's local state), not per-panel-user.