Retrieves a Review resource.

GET /reviews/{id}

Retrieves a Review resource.

Path parameters

  • id string Required

    Review identifier

Responses

  • 200

    Review resource

    Hide response attributes Show response attributes object
    • id integer
    • rating integer
    • body string
    • author string
    • publicationDate string(date-time)
    • book string(iri-reference) | null
  • 404

    Resource not found

GET /reviews/{id}
curl \
 -X GET http://api.example.com/reviews/{id}
Response examples (200)
{
  "id": 42,
  "rating": 42,
  "body": "string",
  "author": "string",
  "publicationDate": "2023-05-04T09:42:00+00:00",
  "book": "string"
}
Response examples (200)
{
  "id": 42,
  "rating": 42,
  "body": "string",
  "author": "string",
  "publicationDate": "2025-05-04T09:42:00Z",
  "book": "string"
}