v1

latestOpenAPI 3.1.0MITraw.githubusercontent.com2024-06-0581319.8 KB
Books

Get a book by ID

Returns a single book

get/books/{bookId}

Path parameters

bookIdinteger required

ID of the book to return

Response

A single book

OR
OR

Example response

{
  "id": 1,
  "title": "Clean Code",
  "description": "A Handbook of Agile Software Craftsmanship",
  "price": 2999,
  "category": "Programming"
}