You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey,
I'm using Github Enterprise and my use case is to get metrics using GitHub API. As part of this effort, I've a list of users to go against and fetch the necessary data for reporting and analysis.
I'm trying to get all the Organizations(public & private) each user belongs to and get all repositories within those organizations and get stats for each repository.
I tried using this method: octokit.orgs.listForUser({ username, per_page, page }); which results in only public orgs. Since it is enterprise GitHub server, all orgs are private and I'm unable user organizations.
Can you recommend/suggest if there is a way to fetch this data.
I'll close the issue for the time being as there is nothing actionable for me right now, but please let me know what support says, and reopen the issue if there is something I can help with from my side
Hey,
I'm using Github Enterprise and my use case is to get metrics using GitHub API. As part of this effort, I've a list of users to go against and fetch the necessary data for reporting and analysis.
I'm trying to get all the Organizations(public & private) each user belongs to and get all repositories within those organizations and get stats for each repository.
I tried using this method: octokit.orgs.listForUser({ username, per_page, page }); which results in only public orgs. Since it is enterprise GitHub server, all orgs are private and I'm unable user organizations.
Can you recommend/suggest if there is a way to fetch this data.
P.S: There seems to be an GitHub endpoint for this ask but this is only for an authenticated user.
https://developer.github.com/enterprise/2.20/v3/orgs/#list-your-organizations
The text was updated successfully, but these errors were encountered: