Provide an API call to retrieve reviews since a specific date

Bug #920568 reported by Anthony Lenton
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ratings and Reviews server
Fix Released
Undecided
Unassigned

Bug Description

rnr should provide an API call to provide reviews created since a specific timestamp, so that client code doesn't sweep the whole package space each time they want to get the latest reviews data.

Possibly we can reuse the ShowReviewsHandler, on a new url. On the client, again, it might make sense to just add an argument to the get_reviews() call.

Related branches

Revision history for this message
Łukasz Czyżykowski (lukasz-czyzykowski) wrote :

get_reviews() and ShowReviewsHandler is a package specific. What would be more useful here is to have something like:

/api/1.0/reviews/since/2012-01-12/

Which would return the same kind of data current get_reviews() call.

Revision history for this message
Łukasz Czyżykowski (lukasz-czyzykowski) wrote :

Linked branch with proposed implementation.

Dave Morley (davmor2)
Changed in rnr-server:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.