Skip to content

ServerKit is a lightweight, modern server control panel for managing web applications, databases, and services on your VPS or dedicated server. Built with Python/Flask backend and React frontend.

chore(docs): regenerate the API surface and migration inventory

Juan Denisc8ae7f35f267
diff --git a/docs/API_SURFACE.md b/docs/API_SURFACE.md
index f74f3102..466e45ce 100644
--- a/docs/API_SURFACE.md
+++ b/docs/API_SURFACE.md
@@ -707,6 +707,7 @@ Regenerate (backend/):
- `GET /waf/applications/{app_id}/events`
- `GET /waf/applications/{app_id}/policy`
- `GET /waf/status`
+- `GET /walkthroughs/definitions`
- `GET /walkthroughs/state`
- `GET /webhooks/endpoints`
- `GET /webhooks/endpoints/{endpoint_id}`
@@ -1328,6 +1329,7 @@ Regenerate (backend/):
- `PUT /system/timezone`
- `PUT /views/{view_id}`
- `PUT /waf/applications/{app_id}/policy`
+- `PUT /walkthroughs/definitions`
- `PUT /walkthroughs/state`
- `PUT /workspaces/members/{member_id}/role`
- `PUT /workspaces/{workspace_id}`
diff --git a/docs/MIGRATION_INVENTORY.md b/docs/MIGRATION_INVENTORY.md
index 0d9f8346..4f983e3e 100644
--- a/docs/MIGRATION_INVENTORY.md
+++ b/docs/MIGRATION_INVENTORY.md
@@ -16,7 +16,7 @@ debt. Regenerate with `python scripts/generate-migration-inventory.py`.
| Routes on bare @jwt_required() | auth_required() / role decorators | 608 | 608 | REGISTERED EXCEPTION: JWT-only is the deliberate default; conversion grants API-key access and happens per route, on decision |
| HTTP statuses chosen by sniffing error text | typed errors from app.exceptions | 0 | 0 | INVARIANT at 0 - migration completed 2026-08-19 |
| API crashes swallowed without recording | app.error_reporting | 0 | 0 | INVARIANT at 0 |
-| Hand-shaped {'error': ...} bodies in app/api | typed errors + the global handler | 1141 | 1150 | migrate when touched; new endpoints raise |
+| Hand-shaped {'error': ...} bodies in app/api | typed errors + the global handler | 1142 | 1150 | migrate when touched; new endpoints raise |
| Raw subprocess calls outside the runners | app/utils/system.py runners | 24 | 24 | migrate when touched |
| Controller-boundary violations (routes doing service work) | service layer extraction | 511 | 511 | migrate when touched (first-wave ratchet) |
| raw api.* calls in pages/ | E1: useServerQuery/useServerMutation | 405 | 405 | migrate when touched |