initial commit
All checks were successful
Build and Push to ACR / Build and Push (push) Successful in 7m17s

Change-Id: I15ddbaddac362bcec0e791a2508c9376349d177c
This commit is contained in:
Scaffolder
2026-03-24 23:32:49 +00:00
commit c8792e4486
19 changed files with 1147 additions and 0 deletions

19
docs/api.md Normal file
View File

@@ -0,0 +1,19 @@
# API Reference
Base URL: `https://tmpl-test-go.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 |
|------|-------------|
| `/health` | `{"status":"UP"}` |
| `/metrics` | Prometheus exposition format |