Add root comments APIs

Review Request #12037 — Created Feb. 5, 2022 and discarded — Latest diff uploaded

Information

Review Board
master

Reviewers

  • 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 and interdiff-revision for diff comments, and file-attachment-id file-name for file attachment comments
  • Unit tests suites for comments API
  • Added added webapi_request_fields decorator to get_list for request parameters documentation
  • Updated the WebAPI documentations
  • Added unit tests for diff-comment, general-comment and file-attachment-comment with list resource and GET method

Commits

Files