- GET/POST /api/admin/notify-event-keys: list ordered by sort_order/key, create with key regex validation (^[a-z][a-z0-9_]*$/i), 409 on conflict - PUT/DELETE /api/admin/notify-event-keys/[key]: update via COALESCE, hard delete with 404 guard - app/admin/workflow/event-keys/page.tsx: list with inline edit, Switch for is_active toggle, + New event key form, sonner toasts - All routes gated by requireAdmin() |
||
|---|---|---|
| .. | ||
| [id] | ||
| channels | ||
| classification | ||
| event-keys | ||
| history | ||
| pipelines | ||
| rules | ||
| settings | ||
| templates | ||
| page.tsx | ||