Setup, health and recovery
9 operations. Open one for its parameters, request body, responses and examples.
| Method | Path | Summary |
|---|---|---|
| POST | /api/v1/bootstrap | Create the first admin with the one-time setup token |
| POST | /api/v1/local/enrollment-tokens | A one-time enrollment token for the panel's own machine, for `zopanel-setup install -roles agent` there (ADR 0114). Same rules as recovery-links: loopback, no proxy headers, the X-Zopanel-Recovery secret; anything else is 404. Made for the provider's first administrator; 409 PANEL_NOT_SET_UP before the first admin exists |
| POST | /api/v1/local/ip-unban | Lift IP bans for `zopanel-setup unban` (ADR 0066). Same rules as recovery-links: loopback, no proxy headers, the X-Zopanel-Recovery secret; anything else is 404 |
| POST | /api/v1/local/recovery-links | Make a recovery link (ADR 0057). Only from loopback, without proxy headers, and with the X-Zopanel-Recovery secret the service writes to its Administrators-only data folder; anything else is 404 |
| GET | /api/v1/openapi.yaml | This API contract, read-only (ADR 0055) |
| GET | /api/v1/release | The version and channel the panel runs; null in a development build |
| POST | /api/v1/setup-hint | Check the one-time setup token and get the email given to the installer (ADR 0057); only for the token's holder and only until the first admin exists. Wrong tokens count against the setup rate limit |
| GET | /api/v1/setup-status | Whether the first administrator has been created |
| GET | /healthz |