Document store settings, health and admin screen
Operators can now see which document store the REST API uses and whether it works, without reading the server's environment. A store that cannot be used stops the REST API at startup with a message that says what to fix.
- Admin console → Document store: the active backend and its settings (bucket, prefix, region, endpoint, encryption, where the credentials come from), whether the store answers, how many objects it holds and their size, and when an integrity check last verified them. Test connection writes, reads back and deletes a probe object and lists each step.
- The environment stays the source of truth: the page is read-only, and credentials are never sent to the browser. The UI reads everything through the REST API; it never talks to the bucket.
- Fails fast at startup: a missing bucket, a refused key or an unwritable directory stops the
REST API with a redacted message naming the setting. Set
APIOME_DOCUMENT_STORE_FALLBACK=dbto start on the database store instead; the fallback is then reported everywhere. /healthreports the store as a dependency: adocument_storeblock withstatus(ok,degradedorunavailable), the backend and whether a fallback is in effect.- From the REST API: platform administrators can read
GET /v1/ops/document-storeand runPOST /v1/ops/document-store/test.
See Check the store.
