Comment 1 for bug 1318144

Revision history for this message
Michael Nelson (michael.nelson) wrote :

The reviews server doesn't (didn't last time I checked [1]) allow a second review for the same user, returning a 400 not allowed [2].

The other aspect is exactly right - the click reviews server only allows creating reviews right now. It's trivial to move the other functionality across from the older deb-reviews app, but we'd like to do that as it's needed. So checking what's there, I assume the things we'll want right now are:
 * edit review (PUT to the review resource)
 * delete review (DELETE to the review resource, but doesn't delete from the db, just filters out)

Things that we may need soon (and which are easy enough to do at the same time on the server):
 * flag a review
 * mark a review as useful
 * include review 'usefulness' on the review resource uri
 * Add a hal+json format for appropriate accept header (for consistency with other apis)

[1] See the example at the bottom returning a 400 with the error "A user cannot create multiple reviews for an app." https://wiki.ubuntu.com/AppStore/Interfaces/RatingsAndReviews