v1.1.0 ยท a small CRUD service for Voiden demos
GET | /health | Liveness probe |
GET | /books | List books. Filters: author, q, inStock. Also sort, limit, offset |
POST | /books | Create a book ๐ |
GET | /books/:id | Get one book |
PUT | /books/:id | Replace a book ๐ |
PATCH | /books/:id | Update some fields ๐ |
DELETE | /books/:id | Delete a book ๐ |
POST | /reset | Restore the seeded books ๐ |
GET | /openapi.json | OpenAPI 3 description of this API |
๐ needs the header x-api-key. Data is in memory and resets when the service restarts.
Try it: /books ยท /health ยท /openapi.json