Each review has the following properties and is accessed via /api/review
.
Complete details in ReviewProperties.
The unique id for this review. It will never change.
review
.
A date when the review was created.
A date when the review was last updated.
A block of text, not to exceed 65000 characters.
An integer between 1 and 5, 5 being best.
A Game id. The unique id of a Game that this review is about.
A User id. The unique id of a User that created this review.
The methods used to fetch and manipulate reviews.
POST /api/review
Required. The unique session id provided by a Session method.
Required.
Required.
Optional.
Optional.
Returns:
{ "id" : "xxx", "rating" : 3, ... }
PUT /api/review/xxx
See Create Review for details.
DELETE /api/review/xxx
Required. The unique session id provided by a Session method.
Returns:
{ "success" : 1 }
GET /api/review/xxx
Optional. The unique session id provided by a Session method.
Optional. See "Relationships" in Intro and Review Relationships above for details.
Returns:
{ "id" : "xxx", "rating" : 3, ... }
GET /api/review
Returns a list of reviews sorted by date created.