Files
test-repo-174--016/docs/api.md
Scaffolder ddfc7a359f
All checks were successful
Build and Publish TechDocs / build-and-publish (push) Successful in 1m4s
initial commit
Change-Id: I1b176c5b7aeb6dcd48a471073880f2ec50342731
2026-04-20 17:09:12 +00:00

21 lines
651 B
Markdown

# API Reference
Base URL: `https://test-for-174--016.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 |
|------|-------------|
| `/actuator/health` | Health check — `{"status":"UP"}` |
| `/metrics` | Prometheus exposition format |