Add webAPI resources for archived and muted review requests
Review Request #7087 — Created March 19, 2015 and submitted — Latest diff uploaded
This adds webAPI resources for the creation and deletion of archived and muted review requests.
Each resource is a child of the User resource and inherits from a base archived resource. Resources accept POST and DELETE requests, both of which modify ReviewRequestVisit database entries accordingly.
Added standard POST and DELETE tests to reviewboard.webapi.tests. All tests passed.
Diff Revision 10
This is not the most recent revision of the diff. The latest diff is revision 11. See what's changed.
orig
1
2
3
4
5
6
7
8
9
10
11
reviewboard/testing/testcase.py |
---|
reviewboard/webapi/resources/archived_review_request.py |
---|
reviewboard/webapi/resources/base_archived_object.py |
---|
reviewboard/webapi/resources/muted_review_request.py |
---|
reviewboard/webapi/resources/user.py |
---|
reviewboard/webapi/tests/mimetypes.py |
---|
reviewboard/webapi/tests/test_archived_review_request.py |
---|
reviewboard/webapi/tests/urls.py |
---|