Include id in /projects/:id/repository/commits/:sha/comments JSON
Description
Note webhooks have a lot of information about notes on commits, but there is no way to get at that information with the API (v4).
In my use case, I want to fetch comments on commits via the API and then keep that data up to date using webhooks, but without at least the id
of the comment in the API, it's much harder to match webhooks to comments I already know.
(Include problem, use cases, benefits, and/or goals)
Proposal
I propose to add id
to the json ("about here":https://gitlab.com/gitlab-org/gitlab-ce/blob/master/lib/api/entities.rb#L597). Adding more information might not be worth it with the planned move to GraphQL, but this change looks rather easy and unlikely to break anything.
I can add it myself, but I'd like to get a