Files
alex-2/docs/api.md
Scaffolder 243ee35740
All checks were successful
Build and Publish TechDocs / build-and-publish (push) Successful in 1m13s
initial commit
Change-Id: Ia7335da493265e251d60a899ce86eb8e483e41d6
2026-05-11 19:53:34 +00:00

21 lines
631 B
Markdown

# API Reference
Base URL: `https://alex-2.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 |