Skip to main content
GET
/
reviews
/
book
/
{bookId}
get by book
curl --request GET \
  --url http://localhost:8000/v1/reviews/book/{bookId}
{
  "data": {
    "reviews": {
      "docs": [],
      "hasNextPage": false,
      "hasPrevPage": false,
      "limit": 10,
      "nextPage": null,
      "offset": 0,
      "page": 1,
      "pagingCounter": 1,
      "prevPage": null,
      "totalDocs": 0,
      "totalPages": 1
    }
  },
  "error": null
}

Path Parameters

bookId
string
required
Example:

"670e2ce78296c4aa4d1374ad"

Query Parameters

page
string
Example:

"1"

limit
string
Example:

"10"

Response

200 - application/json

get by book - success1 / get by book - success2

data
object
error
unknown