Files
test-alex-1/docs/api.md
Scaffolder 5f9d1bcc02
All checks were successful
Build and Publish TechDocs / build-and-publish (push) Successful in 59s
initial commit
Change-Id: I84f1c77dbf214ee51341ec8443810c0711a16d83
2026-05-11 12:01:10 +00:00

21 lines
636 B
Markdown

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