Get incident
Returns one incident with the logs captured when the restart was detected.
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.
Path parameters
The incident id, from List incidents.
Response
200 · application/jsonThe incident with its logs.
The incident id.
The watch target that restarted.
When the restart was detected.
Docker's restart count at detection.
When the previous run started, RFC 3339 in UTC, or an empty string when unknown.
When the current run started, RFC 3339 in UTC, or an empty string when unknown.
Logs captured before the restart. Empty in a list.
Logs captured at detection. Empty in a list.
The exit code of the previous run.
true when the kernel killed the process for memory.
true when the target is running again.
Where the incident was detected.
The failure class, for a Proxmox guest.
The guest state, for a Proxmox guest.