Files
test-repo-174--007/docs/api.md
Scaffolder f4aca2b3c3
All checks were successful
Build and Publish TechDocs / build-and-publish (push) Successful in 1m12s
initial commit
Change-Id: Iae84a37d1caf14b15ed3ce78f5c7088886af4682
2026-04-20 15:35:36 +00:00

21 lines
651 B
Markdown

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