Klerck API Documentation ======================== Interactive API Documentation: /swagger OpenAPI Specification: /openapi.yaml This API uses a branch-first model: • Fixed schema per branch (no per-revision schemas) • AppDefinitionVersion snapshots drive migrations • Plan/apply to dev, then promote to main Key endpoints: • GET /client_app - List apps (use ?draft=true/false) • POST /client_app - Create new app • POST /organization/{org}/client_app/{id}/definitions - Create definition version • POST /organization/{org}/client_app/{id}/branches/{branchName}/migrations/plan - Create migration plan for a branch • POST /organization/{org}/client_app/{id}/migrations/apply - Apply plan to a branch • POST /organization/{org}/client_app/{id}/branches/{branchName}/migrations/promote - Promote branch plans to main • POST/DELETE /organization/{org}/client_app/{id}/branches/dev - Manage dev branch Server running on port 8080