init monlet repo with stage 0-2 (docs, contract, agent MVP)
This commit is contained in:
11
api/README.md
Normal file
11
api/README.md
Normal file
@@ -0,0 +1,11 @@
|
||||
# API Contract
|
||||
|
||||
`openapi.yaml` is the first versioned Monlet API contract.
|
||||
|
||||
Rules:
|
||||
|
||||
- all public endpoints are under `/api/v1`;
|
||||
- agent-facing endpoints use bearer token auth;
|
||||
- check result ingestion is idempotent by `event_id`;
|
||||
- incident keys are stable and must not include dynamic values;
|
||||
- implementation must update this contract when public API changes.
|
||||
Reference in New Issue
Block a user