How to get the list of Organizations a user belongs to in GitHub? -
i'm trying title says, using github's api, i'm trying list of orgs user belongs to... problem, can't find way it.
according api's doc: https://developer.github.com/v3/orgs/ using endpoint:
/users/:user/orgs
that should list them, it's not doing user, i'm guessing lists orgs created user.
if case, there way around somehow, can list of organizations user belongs to?
it should but, mentioned
- for account, don't belong organization: https://api.github.com/users/vonc/orgs
- defunk, however, part of public orgs: https://api.github.com/users/defunkt/orgs
since list orgs api list:
- all public organizations unauthenticated user
- private , public organizations authenticated users.
maybe user not part of public orgs, private ones.
Comments
Post a Comment