Get config
Returns the settings the dashboard shows: servers, Proxmox endpoints, alert thresholds, wake targets and notification channels. Secrets are never returned. A credential appears as a set flag, and a notification field that is not a secret appears with its value. When the server has a token, the response carries a revision to send back with a save.
Authorizations
The token you start the server with: homebutler serve --token <token>, or web.token in the config file. Send it as Authorization: Bearer <token>. When the server has a token, every /api/ route except the CORS preflight requires it, reads included.
Response
200 · application/jsonThe current settings.
The config file in use, or (defaults) when there is none.
The servers.
The Proxmox endpoints.
The alert thresholds in percent.
The wake targets.
Every channel homebutler has, configured or not.
true when the server has a token, which is what enables the save routes.
A warning when the token travels over plain HTTP on a public address. Empty otherwise.
Send this back with a save. Present only when editable is true and the config file exists. It is valid until the file changes or the server restarts.