initial commit
All checks were successful
Build and Push to ACR / Build and Push (push) Successful in 46s
All checks were successful
Build and Push to ACR / Build and Push (push) Successful in 46s
Change-Id: I15e0d095273278f8531caa7399565fe92857a7ad
This commit is contained in:
22
docs/api.md
Normal file
22
docs/api.md
Normal file
@@ -0,0 +1,22 @@
|
||||
# API Reference
|
||||
|
||||
Base URL: `https://test-alex-1.kyndemo.live`
|
||||
|
||||
Interactive docs: `/docs` (Swagger UI) · `/redoc` (ReDoc)
|
||||
|
||||
## Items
|
||||
|
||||
| Method | Path | Description |
|
||||
|--------|------|-------------|
|
||||
| GET | `/api/items` | List items |
|
||||
| POST | `/api/items` | Create item `{"name":"..","description":".."}` |
|
||||
| GET | `/api/items/{id}` | Get by ID |
|
||||
| PUT | `/api/items/{id}` | Update |
|
||||
| DELETE | `/api/items/{id}` | Delete |
|
||||
|
||||
## Observability
|
||||
|
||||
| Path | Description |
|
||||
|------|-------------|
|
||||
| `/health` | `{"status":"UP"}` |
|
||||
| `/metrics` | Prometheus text format |
|
||||
Reference in New Issue
Block a user