[go: up one dir, main page]

Skip to content

Allow programmatic editing and deletion of commit comments

Proposal

Commit comments can be created and retrieved programmatically, but don't support updating nor deleting them:

Responses for GET /projects/:id/repository/commits/:sha/comments don't include any kind of unique identifier for each comment, so it would not be possible to reference them in update and delete operations, but, internally, each commit comment has a numeric note identifier used for permanent links: https://gitlab.com/{project}/-/commit/{reference}#note_{identifier}

Would it be possible to expose two new methods (i.e. PUT and DELETE on the endpoint above) that accept a numeric identifier for an existing commit comment?

Edited by Kai Armstrong