initial commit
Some checks failed
Build and Publish TechDocs / build-and-publish (push) Failing after 1m10s

Change-Id: I84c73d9fbc3ab907d3b34cf59d343a84723a0d49
This commit is contained in:
Scaffolder
2026-08-02 11:12:52 +00:00
commit ed04d3f8a1
21 changed files with 1538 additions and 0 deletions

20
docs/api.md Normal file
View File

@@ -0,0 +1,20 @@
# API Reference
Base URL: `https://gate-svc-1.kyndemo.live`
## Items `/api/items`
| Method | Path | Body | Response |
|--------|------|------|----------|
| GET | `/api/items` | — | Array of items |
| POST | `/api/items` | `{"name":"...","description":"..."}` | Created item (201) |
| GET | `/api/items/{id}` | — | Item or 404 |
| PUT | `/api/items/{id}` | `{"name":"...","description":"..."}` | Updated item |
| DELETE | `/api/items/{id}` | — | `{"deleted":id}` |
## Observability
| Path | Description |
|------|-------------|
| `/health` | Health check — `{"status":"UP"}` |
| `/metrics` | Prometheus exposition format |