Humanity Center Admin

Operator CRUD over /v1/internal/hc. Sample data comes from the UNERA prototype, so a generated centre renders the same as the design.

The proxy option avoids CORS: no service sets the headers itself, because the traefik entrypoint applies them in the deployed environments. Credentials stay in this browser only. Read them with sops -d manifests/overlays/dev/secrets/hc-api-secrets.enc.yaml.

Centres

“Generate all 12” posts every prototype centre. One that already exists answers 409 and is reported as skipped, so it is safe to run twice.
slugnamestatuslivesdonated
Not loaded yet

Change status

Separate from editing content: it can hide the centre or stop new donations, so it carries its own audit entry. suspended and deactivated need a reason.

History

A revert re-applies an old version as a new one, so nothing is deleted and the trail keeps growing. slug and status are never restored: an old slug breaks links already shared, and re-opening a suspended centre is a decision of its own.
vwhenactorchanged
Not loaded yet

Create or edit a centre

Stores the file and pastes the URL above. The same image uploaded twice keeps one copy and one URL.
Loading the schema…

Preview

Rendered entirely from the schema — no key name appears in this renderer. Add a key to HcContent in the spec and it shows up here without a frontend change.