Provide an API call to retrieve reviews since a specific date
Bug #920568 reported by
Anthony Lenton
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
lp:~lukasz-czyzykowski/rnr-server/920568-reviews-since
- Anthony Lenton (community): Approve
-
Diff: 128 lines (+60/-1)3 files modifiedsrc/reviewsapp/api/handlers.py (+14/-0)
src/reviewsapp/api/urls.py (+10/-1)
src/reviewsapp/tests/test_handlers.py (+36/-0)
Changed in rnr-server: | |
status: | New → Fix Released |
To post a comment you must log in.
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.