These endpoints are available at
https://kodostatus.com/api/v1 and support API key auth via X-API-Key.Workflow
- Read current state:
GET /status-pages/{id}/design - Create or update draft:
PUT /status-pages/{id}/design/draft - Validate draft:
POST /status-pages/{id}/design/draft/validate - Publish draft:
POST /status-pages/{id}/design/publish - Audit history:
GET /status-pages/{id}/design/versions
Endpoints
Notes
- Custom template mode is plan-gated (
PLAN_RESTRICTEDif unavailable). - Publish uses optimistic locking with
expected_draft_version_idand executes via an atomic database transaction. theme_tokensandlayoutuse strict validation — unknown fields are rejected with a400error.- Version history uses cursor pagination by
version_number. - Valid version states:
draft,published,archived.