Refactor code structure for improved readability and maintainability
This commit is contained in:
16
docs/api/console/exception-schema.md
Normal file
16
docs/api/console/exception-schema.md
Normal file
@@ -0,0 +1,16 @@
|
||||
# Console Exceptions API Schema (draft placeholder)
|
||||
|
||||
**Status:** TODO · awaiting Policy Guild + Platform Events
|
||||
|
||||
## Scope
|
||||
- `/exceptions` CRUD/workflow (create, propose, approve, revoke, list, history) proxied by Web gateway.
|
||||
- Audit logging, pagination, notification hooks, rate limits, RBAC scopes.
|
||||
|
||||
## Needed from owners
|
||||
- JSON schema for exception entity and workflow transitions; validation rules.
|
||||
- Required scopes/roles; audit fields; pagination/sorting defaults; max durations/guardrails.
|
||||
- Notification hook contract (`exception.*` events) and rate-limit policy.
|
||||
- Sample payloads for each state and error cases.
|
||||
|
||||
## TODO
|
||||
- Replace with ratified schema + samples; log hash/date; link from Web I/II sprint logs.
|
||||
Reference in New Issue
Block a user