API referenceSections

Setup, health and recovery

9 operations. Open one for its parameters, request body, responses and examples.

MethodPathSummary
POST/api/v1/bootstrapCreate the first admin with the one-time setup token
POST/api/v1/local/enrollment-tokensA 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-unbanLift 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-linksMake 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.yamlThis API contract, read-only (ADR 0055)
GET/api/v1/releaseThe version and channel the panel runs; null in a development build
POST/api/v1/setup-hintCheck 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-statusWhether the first administrator has been created
GET/healthz