Books API

v1.1.0 ยท a small CRUD service for Voiden demos

GET/healthLiveness probe
GET/booksList books. Filters: author, q, inStock. Also sort, limit, offset
POST/booksCreate a book ๐Ÿ”‘
GET/books/:idGet one book
PUT/books/:idReplace a book ๐Ÿ”‘
PATCH/books/:idUpdate some fields ๐Ÿ”‘
DELETE/books/:idDelete a book ๐Ÿ”‘
POST/resetRestore the seeded books ๐Ÿ”‘
GET/openapi.jsonOpenAPI 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