Merge branch 'build-stamped-version'

This commit is contained in:
ari committed 2026-10-20 23:38:12 -04:00
commit b3b9103f2f
18 files changed
+322 -18

No files matched your search

+1 -1
View File
@@ -21,7 +21,7 @@ Base: `http://127.0.0.1:1984`. Errors are `{"error":{"code","message"}}`.
| Route | Notes |
| -------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------ |
| `GET /healthz` | public, `{"status":"ok","version":...}` |
| `GET /healthz` | public, `{"status":"ok","version":...}`, `version` is the build stamp `YYYY.MM.DD-<branch>-<sha>` |
| `GET /docs`, `GET /docs/redoc.standalone.js` | public static Redoc viewer for the OpenAPI document, see [Generated reference](#generated-reference-openapi) |
| `GET /api/v1/systemd/units?state=failed` | `state` is an active state (`failed`, `active`, ...) |
| `GET /api/v1/systemd/units/{name}` | one unit with details; read-only, so only units systemd has loaded (unloaded or unknown is 404) |