-
Notifications
You must be signed in to change notification settings - Fork 6
Reviews docs #350
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Reviews docs #350
Changes from all commits
21e946b
f793a00
0d2c178
9ae4601
2a5ae6f
36f3a6e
4ad0573
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| { | ||
| "host_reviews": [ | ||
| { | ||
| "comment": "It was awesome!", | ||
| "expires_at": "2021-06-07T12:00:00Z", | ||
| "source_id": 1, | ||
| "shareable": false | ||
| } | ||
| ] | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,29 @@ | ||
| { | ||
| "host_reviews": [ | ||
| { | ||
| "comment": "Awesome guest", | ||
| "submitted_at": "2020-06-06T12:00:00Z", | ||
| "expires_at": "2020-06-07T12:00:00Z", | ||
| "is_guest_recommended": true, | ||
| "shareable": false, | ||
| "comment": "It was awesome!", | ||
| "source_id": 1, | ||
| "criteria": { | ||
| "cleanliness": { | ||
| "rating": "4.5", | ||
| "comment": null | ||
| }, | ||
| "communication": { | ||
| "rating": "5.0", | ||
| "comment": null | ||
| }, | ||
| "respect_house_rules": { | ||
| "rating": "5.0", | ||
| "comment": "Everything great!" | ||
| } | ||
| } | ||
| } | ||
| ] | ||
| } | ||
|
|
||
|
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,35 @@ | ||
| { | ||
| "links": { | ||
| "host_reviews.source": "https://www.bookingsync.com/api/v3/sources/{host_reviews.source}", | ||
| "host_reviews.booking": "https://www.bookingsync.com/api/v3/bookings/{host_reviews.booking}", | ||
| "host_reviews.rental": "https://www.bookingsync.com/api/v3/rentals/{host_reviews.rental}", | ||
| "host_reviews.account": "https://www.bookingsync.com/api/v3/accounts/{host_reviews.account}", | ||
| "host_reviews.reply": "https://www.bookingsync.com/api/v3/review_replies/{host_reviews.reply}" | ||
| }, | ||
| "host_reviews": [ | ||
| { | ||
| "links": { | ||
| "account": 1, | ||
| "booking": 96, | ||
| "rental": 1, | ||
| "reply": null, | ||
| "source": 1 | ||
| }, | ||
| "id": "04356dc9-1349-4e05-b818-09ccdac8d5dd", | ||
| "comment": "It was awesome!", | ||
| "private_comment": null, | ||
| "shareable": false, | ||
| "criteria": { | ||
| "cleanliness": null, | ||
| "communication": null, | ||
| "respect_house_rules": null | ||
| }, | ||
| "submitted_at": null, | ||
| "is_guest_recommended": null, | ||
| "expires_at": "2021-06-07T12:00:00Z", | ||
| "created_at": "CREATED_AT", | ||
| "updated_at": "UPDATED_AT" | ||
| } | ||
| ], | ||
| "meta": {} | ||
| } | ||
| Original file line number | Diff line number | Diff line change | ||||||
|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,34 @@ | ||||||||
| { | ||||||||
| "links": { | ||||||||
| "host_reviews.source": "https://www.bookingsync.com/api/v3/sources/{host_reviews.source}", | ||||||||
| "host_reviews.booking": "https://www.bookingsync.com/api/v3/bookings/{host_reviews.booking}", | ||||||||
| "host_reviews.rental": "https://www.bookingsync.com/api/v3/rentals/{host_reviews.rental}", | ||||||||
| "host_reviews.account": "https://www.bookingsync.com/api/v3/accounts/{host_reviews.account}", | ||||||||
| "host_reviews.reply": "https://www.bookingsync.com/api/v3/review_replies/{host_reviews.reply}" | ||||||||
| }, | ||||||||
| "host_reviews": [ | ||||||||
| { | ||||||||
| "links": { | ||||||||
| "account": 1, | ||||||||
| "booking": 96, | ||||||||
| "rental": 1, | ||||||||
| "reply": null, | ||||||||
| "source": 1 | ||||||||
| }, | ||||||||
| "id": "04356dc9-1349-4e05-b818-09ccdac8d5dd", | ||||||||
| "comment": "Awesome\n place", | ||||||||
| "shareable": true, | ||||||||
| "criteria": { | ||||||||
| "cleanliness": { "rating": "4.5", "comment": null }, | ||||||||
| "communication": null, | ||||||||
| "respect_house_rules": { "rating": "5.0", "comment": "Everything great!" } | ||||||||
| }, | ||||||||
| "submitted_at": null, | ||||||||
| "is_guest_recommended": true, | ||||||||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||
| "expires_at": "2021-06-07T12:00:00Z", | ||||||||
| "created_at": "CREATED_AT", | ||||||||
| "updated_at": "UPDATED_AT" | ||||||||
| } | ||||||||
| ], | ||||||||
| "meta": {} | ||||||||
| } | ||||||||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,35 @@ | ||
| { | ||
| "links": { | ||
| "host_reviews.source": "https://www.bookingsync.com/api/v3/sources/{host_reviews.source}", | ||
| "host_reviews.booking": "https://www.bookingsync.com/api/v3/bookings/{host_reviews.booking}", | ||
| "host_reviews.rental": "https://www.bookingsync.com/api/v3/rentals/{host_reviews.rental}", | ||
| "host_reviews.account": "https://www.bookingsync.com/api/v3/accounts/{host_reviews.account}", | ||
| "host_reviews.reply": "https://www.bookingsync.com/api/v3/review_replies/{host_reviews.reply}" | ||
| }, | ||
| "host_reviews": [ | ||
| { | ||
| "links": { | ||
| "account": 1, | ||
| "booking": 96, | ||
| "rental": 1, | ||
| "reply": null, | ||
| "source": 1 | ||
| }, | ||
| "id": "04356dc9-1349-4e05-b818-09ccdac8d5dd", | ||
| "comment": "Awesome\n place", | ||
| "private_comment": null, | ||
| "shareable": true, | ||
| "criteria": { | ||
| "cleanliness": { "rating": "4.5", "comment": null }, | ||
| "communication": null, | ||
| "respect_house_rules": { "rating": "5.0", "comment": "Everything great!" } | ||
| }, | ||
| "submitted_at": null, | ||
| "is_guest_recommended": true, | ||
| "expires_at": "2021-06-07T12:00:00Z", | ||
| "created_at": "CREATED_AT", | ||
| "updated_at": "UPDATED_AT" | ||
| } | ||
| ], | ||
| "meta": {} | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,27 @@ | ||
| { | ||
| "host_reviews": [ | ||
| { | ||
| "comment": "Awesome guest", | ||
| "submitted_at": "2020-06-06T12:00:00Z", | ||
| "expires_at": "2020-06-07T12:00:00Z", | ||
| "is_guest_recommended": true, | ||
| "comment": "It was awesome!", | ||
| "criteria": { | ||
| "cleanliness": { | ||
| "rating": "4.5", | ||
| "comment": null | ||
| }, | ||
| "communication": { | ||
| "rating": "5.0", | ||
| "comment": null | ||
| }, | ||
| "respect_house_rules": { | ||
| "rating": "5.0", | ||
| "comment": "Everything great!" | ||
| } | ||
| } | ||
| } | ||
| ] | ||
| } | ||
|
|
||
|
|
| Original file line number | Diff line number | Diff line change | ||||||
|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,44 @@ | ||||||||
| { | ||||||||
| "links": { | ||||||||
| "host_reviews.source": "https://www.bookingsync.com/api/v3/sources/{host_reviews.source}", | ||||||||
| "host_reviews.booking": "https://www.bookingsync.com/api/v3/bookings/{host_reviews.booking}", | ||||||||
| "host_reviews.rental": "https://www.bookingsync.com/api/v3/rentals/{host_reviews.rental}", | ||||||||
| "host_reviews.account": "https://www.bookingsync.com/api/v3/accounts/{host_reviews.account}", | ||||||||
| "host_reviews.reply": "https://www.bookingsync.com/api/v3/review_replies/{host_reviews.reply}" | ||||||||
| }, | ||||||||
| "host_reviews": [ | ||||||||
| { | ||||||||
| "links": { | ||||||||
| "account": 1, | ||||||||
| "booking": 96, | ||||||||
| "rental": 1, | ||||||||
| "reply": null, | ||||||||
| "source": 1 | ||||||||
| }, | ||||||||
| "id": "04356dc9-1349-4e05-b818-09ccdac8d5dd", | ||||||||
| "comment": "It was awesome!", | ||||||||
| "private_comment": null, | ||||||||
| "shareable": false, | ||||||||
| "criteria": { | ||||||||
| "cleanliness": { | ||||||||
| "rating": "4.5", | ||||||||
| "comment": null | ||||||||
| }, | ||||||||
| "communication": { | ||||||||
| "rating": "5.0", | ||||||||
| "comment": null | ||||||||
| }, | ||||||||
| "respect_house_rules": { | ||||||||
| "rating": "5.0", | ||||||||
| "comment": "Everything great!" | ||||||||
| } | ||||||||
| }, | ||||||||
| "submitted_at": "2020-06-06T12:00:00Z", | ||||||||
| "is_guest_recommended": true, | ||||||||
| "expires_at": "2021-06-07T12:00:00Z", | ||||||||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||
| "created_at": "CREATED_AT", | ||||||||
| "updated_at": "UPDATED_AT" | ||||||||
| } | ||||||||
| ], | ||||||||
| "meta": {} | ||||||||
| } | ||||||||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| { | ||
| "host_reviews": [ | ||
| { | ||
| "comment": "It was awesome!" | ||
| } | ||
| ] | ||
| } | ||
|
|
||
|
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| { | ||
| "review_replies": [ | ||
| { | ||
| "message": "Merci!" | ||
| } | ||
| ] | ||
| } |
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,23 @@ | ||||||
| { | ||||||
| "links": { | ||||||
| "review_replies.booking": "https://www.bookingsync.com/api/v3/bookings/{review_replies.booking}", | ||||||
| "review_replies.host_review": "https://www.bookingsync.com/api/v3/rentals/{review_replies.host_review}", | ||||||
| "review_replies.review": "https://www.bookingsync.com/api/v3/rentals/{review_replies.review}", | ||||||
| "review_replies.account": "https://www.bookingsync.com/api/v3/rentals/{review_replies.account}" | ||||||
| }, | ||||||
| "review_replies": [ | ||||||
| { | ||||||
| "links": { | ||||||
| "host_review": "96f9e3f1-ed2a-4c8c-8e2f-1d3e1d0c8356", | ||||||
| "review": null, | ||||||
| "booking": 4, | ||||||
| "account": 1 | ||||||
| }, | ||||||
| "id": "c7bd77d3-0c74-4da8-8a64-5461f80ff81b", | ||||||
| "reply": "Merci!", | ||||||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
| "replied_at": "CREATED_AT", | ||||||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
| "created_at": "CREATED_AT", | ||||||
| "updated_at": "UPDATED_AT" | ||||||
| } | ||||||
| ] | ||||||
| } | ||||||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,23 @@ | ||||||
| { | ||||||
| "links": { | ||||||
| "review_replies.booking": "https://www.bookingsync.com/api/v3/bookings/{review_replies.booking}", | ||||||
| "review_replies.host_review": "https://www.bookingsync.com/api/v3/rentals/{review_replies.host_review}", | ||||||
| "review_replies.review": "https://www.bookingsync.com/api/v3/rentals/{review_replies.review}", | ||||||
| "review_replies.account": "https://www.bookingsync.com/api/v3/rentals/{review_replies.account}" | ||||||
| }, | ||||||
| "review_replies": [ | ||||||
| { | ||||||
| "links": { | ||||||
| "host_review": null, | ||||||
| "review": 14, | ||||||
| "booking": 4, | ||||||
| "account": 1 | ||||||
| }, | ||||||
| "id": "c7bd77d3-0c74-4da8-8a64-5461f80ff81b", | ||||||
| "reply": "Merci!", | ||||||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
| "replied_at": "CREATED_AT", | ||||||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
| "created_at": "CREATED_AT", | ||||||
| "updated_at": "UPDATED_AT" | ||||||
| } | ||||||
| ] | ||||||
| } | ||||||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,9 +1,26 @@ | ||
| { | ||
| "reviews": [ | ||
| { | ||
| "comment": "It was awesome!", | ||
| "rating": 5, | ||
| "title": "Awesome" | ||
| "comment": "Amazing stay", | ||
| "private_comment": "I left my glasses", | ||
| "submitted_at": "2020-06-06T12:00:00Z", | ||
| "rating": 4.6, | ||
| "shareable": false, | ||
| "source_id": 1, | ||
| "criteria": { | ||
| "cleanliness": { | ||
| "rating": "4.5", | ||
| "comment": null | ||
| }, | ||
| "communication": { | ||
| "rating": "5.0", | ||
| "comment": null | ||
| }, | ||
| "value_for_money": { | ||
| "rating": "4.0", | ||
| "comment": "A bit too expansive" | ||
| } | ||
| } | ||
| } | ||
| ] | ||
| } |
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| @@ -1,22 +1,51 @@ | ||||||||||
| { | ||||||||||
| "links": { | ||||||||||
| "reviews.source": "https://www.bookingsync.com/api/v3/sources/{reviews.source}", | ||||||||||
| "reviews.reply": "https://www.bookingsync.com/api/v3/review_replies/{reviews.reply}", | ||||||||||
| "reviews.booking": "https://www.bookingsync.com/api/v3/bookings/{reviews.booking}", | ||||||||||
| "reviews.rental": "https://www.bookingsync.com/api/v3/rentals/{reviews.rental}" | ||||||||||
| "reviews.rental": "https://www.bookingsync.com/api/v3/rentals/{reviews.rental}", | ||||||||||
| "reviews.account": "https://www.bookingsync.com/api/v3/accounts/{reviews.account}" | ||||||||||
| }, | ||||||||||
| "reviews": [ | ||||||||||
| { | ||||||||||
| "links": { | ||||||||||
| "rental": 87, | ||||||||||
| "booking": 4 | ||||||||||
| "account": 11375, | ||||||||||
| "booking": 15447834, | ||||||||||
| "rental": 115170, | ||||||||||
| "reply": null, | ||||||||||
| "source": 1 | ||||||||||
| }, | ||||||||||
| "id": 1, | ||||||||||
| "id": 4211675, | ||||||||||
| "rating": 5, | ||||||||||
| "comment": "It was awesome!", | ||||||||||
| "name": "John S.", | ||||||||||
| "title": "Awesome", | ||||||||||
| "country_code": "FR", | ||||||||||
| "comment": "Amazing stay", | ||||||||||
| "name": null, | ||||||||||
| "title": "Amazing stay", | ||||||||||
| "country_code": null, | ||||||||||
| "created_at": "CREATED_AT", | ||||||||||
| "updated_at": "UPDATED_AT" | ||||||||||
| "updated_at": "UPDATED_AT", | ||||||||||
| "rating_accurate": "4.6", | ||||||||||
| "shareable": false, | ||||||||||
| "private_comment": "I left my glasses", | ||||||||||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||
| "criteria": { | ||||||||||
| "cleanliness": { | ||||||||||
| "rating": "4.5", | ||||||||||
| "comment": null | ||||||||||
| }, | ||||||||||
| "checkin": null, | ||||||||||
| "communication": { | ||||||||||
| "rating": "5.0", | ||||||||||
| "comment": null | ||||||||||
| }, | ||||||||||
| "location": null, | ||||||||||
| "facilities": null, | ||||||||||
| "comfort": null, | ||||||||||
| "staff": null, | ||||||||||
| "value_for_money": { | ||||||||||
| "rating": "4.0", | ||||||||||
| "comment": "A bit too expansive" | ||||||||||
| }, | ||||||||||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||
| "accuracy": null | ||||||||||
| } | ||||||||||
| } | ||||||||||
| ] | ||||||||||
| } | ||||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.