GET /:country/listings/:id/reviews

Returns reviews for a listing.

The reviews returned are either created from users of the Opendi website or reviews provided by the partner.

Reviews provided by third parties are not returned.

Response

On success returns HTTP 200 OK with the folowing data:

Key Content / Description
numFound The number of reviews found.
reviews An array of Review models, can be empty.

On error returns an Error object.

Examples

GET https://api.opendi.com/de/listings/123555/reviews

HTTP 200 OK

{
    "numFound": 2,
    "reviews" : [{
        "id": "9362",
        "source_id": "11031",
        "reviewer": "Some guy",
        "reviewed": "",
        "title": "Kinda liked it",
        "text": "It was better than some things, worse than others.",
        "rating": 4,
        "date_time": "2015-02-16T17:38:56+00:00"
    }, {
        "id": "9363",
        "source_id": "11031",
        "reviewer": "Some gal",
        "reviewed": "",
        "title": "It was pretty bad",
        "text": "I disliked it so much I never want to go there again.",
        "rating": 1,
        "date_time": "2009-09-22T09:01:25+00:00"
    }]
}