API to retrieve all commit comments for a repository in one (paged) run

Problem to solve

To query commit comments for the entire repository existing API is not sufficient, because one has to send one query per commit:

GET /projects/:id/repository/commits/:sha/comments

Proposal

There should be an API, similar to that of GitHub:

GET /projects/:id/repository/commits/comments

(The exact GitHub API is: GET /repos/:owner/:repo/comments)

Links / references

Edited Jun 23, 2025 by 🤖 GitLab Bot 🤖
Assignee Loading
Time tracking Loading