Why do commit author and committer sections not include GitLab user ID?

Most of the APIs that return an object seem to include the GitLab ID of the related person.

In the case of the ‘push’ Webhook message, and, response from API retrieval of commits (eg: get single commit as documented here), it seems that the object does not include ID for both the author and committer.

ie:

"author_name": "randx",
  "author_email": "user@example.com",
  "committer_name": "Dmitriy",
  "committer_email": "user@example.com",

Is there a reason for that?

Can the ID be added?

1 Like