Review
Retrieve a paginated list of a guest's reviews
get/api/v1/restaurants/{restaurant_id}/guests/{guest_id}/reviews
Request
- Base URL: https://gotable.app
- URL: https://gotable.app/api/v1/restaurants/{restaurant_id}/guests/{guest_id}/reviews
- Auth: HTTP bearer
Path parameters
restaurant_idinteger required
guest_idinteger required
Query parameters
pageinteger
Current page number
per_pageinteger
Number of results per page (max 100)
Response
With a valid API token
Example response
{
"reviews": [
{
"id": 98765,
"restaurant_id": 12345,
"reservation_id": 54321,
"guest_id": 24680,
"author_name": "John Doe",
"author_email": "john.doe@example.com",
"rating": 8,
"description": "Lovely evening, the sea bass was excellent.",
"state": "unchecked",
"links": [
{
"url": "https://gotable.app/api/v1/restaurants/12345/reviews/98765",
"rel": "self",
"method": "GET"
},
{
"url": "https://gotable.app/api/v1/restaurants/12345",
"rel": "restaurant",
"method": "GET"
}
]
}
],
"meta": {
"current_page": 1,
"per_page": 20,
"total_pages": 1,
"total_count": 1,
"links": [
{
"href": "https://gotable.app/api/v1/",
"method": "GET",
"rel": "next"
}
]
}
}Changes
No recorded changes to this operation across all 1 revision of this API.