gitlab api isn't returning project owner info

Viewed 14

I'm trying to determine which projects belong to which divisions within our organization by retrieving the owner of each project and cross-referencing them back in active directory. The gitlab API is giving me some trouble and I get inconsistent data. Not all projects are giving me the owner information, yet I can see it from the website on the ones that don't. My account is an admin and my access token has all the read privileges.

https://gitlab.website.com/api/v4/projects/?access_token=<my_token>

I'm not sure why some projects provide that info through the api and some don't. Of the 2577 projects, only 975 return the owner information.

I've compared some of the projects trying to see what might be different between them but I can't find anything.

0 Answers
Related