Wrong projects/:id/members API responses
Summary
projects/:id/members
endpoint gives wrong data. E.g. I'm getting X-Total=45
from https://gitlab.com/api/v4/projects/13083/members while gitlab-org/gitlab-cehas got 335 members (https://gitlab.com/gitlab-org/gitlab-ce/project_members) now.
Endpoint https://gitlab.com/api/v4/projects/13083/members/all gives X-Total=729
, too. Its response has got some duplicated values.
Steps to reproduce
Call https://gitlab.com/api/v4/projects/13083/members.
What is the current bug behavior?
A list with 45 members and X-Total=45
header attribute.
What is the expected correct behavior?
A list of all 335 members of https://gitlab.com/gitlab-org/gitlab-ce/project_members.