Get Proxmox status
Reads the version, cluster, nodes, guests and storage of one Proxmox VE endpoint with its read-only token. When the endpoint cannot be read, the route answers 200 with status set to stale and the last reading, or unavailable and empty lists when there has been none.
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.
Query parameters
The name of a Proxmox endpoint from List Proxmox endpoints. Needed when more than one is configured.
Response
200 · application/jsonThe reading and how current it is.
The Proxmox VE version.
The cluster and its nodes.
Everything Proxmox lists as a resource.
The reads that failed in this reading.
The failure class of each failed read.
Problems that did not stop the reading.
current is a full reading taken now. partially_readable means some reads failed. stale is the last good reading, shown because a new one failed. unavailable means no reading has worked.
When the readings were taken. Absent when status is unavailable.
Why a read failed.
A sentence about the failure, when there is no class.
The reads that failed when a stale reading was refreshed.
The failure class of each read in refresh_failed_collectors.