Skip to content

author_id and committer_id is missing in REST v4 Commits API

Summary

Unable to get commit author and committer relevant information. Currently API returns only names and emails instead of detailed author and committer info or at least their IDs.

Steps to reproduce

Call commits API (https://docs.gitlab.com/ee/api/commits.html#list-repository-commits)

What is the current bug behavior?

API returns only author's and committer's name and email.

What is the expected correct behavior?

API should return user ID as well to simplify linkage to appropriate users

Possible fixes

Include author_id and committer_id to API response.