Add a Review Board extension to provide a high-level reviews API.
Review Request #6904 — Created Feb. 4, 2015 and submitted
One thing that stops us from automating some of our reporting on students is
the lack of ability to fetch all reviews done by a given user. This deficiency
exists because the current review list resource is a child of the review
requset resource.This new extension adds an API resource that can be filtered using
?from-user
,
?time-added-to
, and?time-added-from
, much like the review request list
resource.
Filled by database with a bunch of fake data (including a lot of reviews by
different users). Fetched this API endpoint using the various query options and
saw that it returned all the reviews done by the given user. Checked to make
sure that the links worked correctly.
-
Tool: Pyflakes Processed Files: misc/rb-reviews-api/rb_reviews_api/extension.py misc/rb-reviews-api/rb_reviews_api/resources.py misc/rb-reviews-api/setup.py Ignored Files: misc/rb-reviews-api/rb_reviews_api/__init__.py .gitignore Tool: PEP8 Style Checker Processed Files: misc/rb-reviews-api/rb_reviews_api/extension.py misc/rb-reviews-api/rb_reviews_api/resources.py misc/rb-reviews-api/setup.py Ignored Files: misc/rb-reviews-api/rb_reviews_api/__init__.py .gitignore
-
Tool: Pyflakes Processed Files: misc/rb-reviews-api/rb_reviews_api/extension.py misc/rb-reviews-api/rb_reviews_api/resources.py misc/rb-reviews-api/setup.py Ignored Files: misc/rb-reviews-api/rb_reviews_api/__init__.py .gitignore Tool: PEP8 Style Checker Processed Files: misc/rb-reviews-api/rb_reviews_api/extension.py misc/rb-reviews-api/rb_reviews_api/resources.py misc/rb-reviews-api/setup.py Ignored Files: misc/rb-reviews-api/rb_reviews_api/__init__.py .gitignore