Add root comments APIs
Review Request #12037 — Created Feb. 5, 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