Trying to retrieve a list of users email addresses from our in-premise GitLab CE instance via the api.
I’m using “GET /user/emails” but it returns an empty string.
I do notice it mentions that there is an issue " Due to (Admin API : "GET /users/:id/emails" is inconsistent w/ documentation (#25077) · Issues · GitLab.org / GitLab · GitLab) this endpoint currently does not return the primary email address" found here https://docs.gitlab.com/ee/api/users.html#list-emails.
I’m assuming my returned list is empty due to this bug?
Is there any other way to retrieve a list of user email addresses?