Files
test-repo-310--005/docs/api.md
Scaffolder cfc4f2c8d4
All checks were successful
Build and Publish TechDocs / build-and-publish (push) Successful in 1m0s
initial commit
Change-Id: I57d537ea21b2e25956611d5c5290808303ab8fea
2026-05-07 20:35:33 +00:00

21 lines
651 B
Markdown

# API Reference
Base URL: `https://test-for-310--005.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 |