Gitlab Groups API - List all members of group --> List also user's email address(primary at least)
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Problem to solve
As an administrator of a gitlab instance you already have access to everyone's emails addresses. But when you list members of a group via API call output does not include users e-mail addresses:
https://docs.gitlab.com/ee/api/members.html#list-all-members-of-a-group-or-project
You will have to do N more API calls to get e-mail addresses(primary at least) of users.
As far as I can see in the open issue #26068 (closed) it is mentioned that "Currently, the API call to get the email address for users is only available to Administrators."
So maybe I am mistaken & here is some kind of a "hidden" feature so I can get all the emails with a single call?