Files
test-repo-310--006/docs/api.md
Scaffolder b87f3339b1
All checks were successful
Build and Publish TechDocs / build-and-publish (push) Successful in 1m10s
initial commit
Change-Id: I0b145bbbd6675e869f06261654317427a9e01cbc
2026-05-07 21:06:23 +00:00

21 lines
651 B
Markdown

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