Add root comments APIs
Review Request #12037 — Created Feb. 4, 2022 and discarded — Latest diff uploaded
- Registered root diff comments, root file attachment comments and root general comments API
- Support GET method for list resources with query parameter:
- Shared query parameters :
review-request-id=<review-request-id>
,review-id=<review-id>
,user=<user-username>
,is-reply
file-diff-id
,line
andinterdiff-revision
for diff comments, andfile-attachment-id
file-name
for file attachment comments- Unit tests suites for comments API
- Added added
webapi_request_fields
decorator toget_list
for request parameters documentation - Updated the WebAPI documentations
- Added unit tests for
diff-comment
,general-comment
andfile-attachment-comment
with list resource and GET method
Diff Revision 2
This is not the most recent revision of the diff. The latest diff is revision 10. See what's changed.
orig
1
2
3
4
5
6
7
8
9
10
Commits
Files
reviewboard/webapi/resources/base_diff_comment.py |
---|
reviewboard/webapi/resources/base_file_attachment_comment.py |
---|
reviewboard/webapi/resources/base_review_general_comment.py |
---|
reviewboard/webapi/resources/root.py |
---|
reviewboard/webapi/resources/root_diff_comment.py |
---|
reviewboard/webapi/resources/root_file_attachment_comment.py |
---|
reviewboard/webapi/resources/root_general_comment.py |
---|
reviewboard/webapi/tests/mimetypes.py |
---|
reviewboard/webapi/tests/test_root_diff_comment.py |
---|
reviewboard/webapi/tests/urls.py |
---|