Get merge request review information through API
Problem to solve
We need to be able to get merge request review information through the GitLab API.
Intended users
Developers on projects that use GitLab.
Further details
For our use case, we need to be able to get the number of merge request review comments through the API for automating metric reports. GitLab currently only lets you get the Discussion comments (also called "notes" by GitLab). This is NOT the same as the review comments, which is currently not retrievable through the API.
- Merge request API: https://docs.gitlab.com/ee/api/merge_requests.html
- Discussions API: https://docs.gitlab.com/ee/api/discussions.html
- Notes API: https://docs.gitlab.com/ee/api/notes.html
Proposal
Add merge request review API capability. For example: "GET /projects/:id/merge_requests/:iid/reviews"