Files
alex-1/docs/api.md
Scaffolder 745d30d3c0
All checks were successful
Build and Push to ACR / Build and Push (push) Has been skipped
Build and Publish TechDocs / build-and-publish (push) Successful in 1m9s
initial commit
Change-Id: I1296dc1a3294331f7dcee8e793bc3ed2c63351a3
2026-05-11 19:25:48 +00:00

21 lines
631 B
Markdown

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