1

I would like to know how do we connect to enterprise version of github and access multiple data like , organization settings, users, repositories etc.,

I can find in google that we can access open github details using endpoint

https://api.github.com/

how about access my Enterprise version ? considering enterprise name "test". I can login into it through web using
"https://github.com/enterprises/test/people"

Can you please help me in pointing a REST guide or example to access data please.

I tried using https://api.github.com/enterprises/test but no luck

kindly help

4

1 回答 1

1

我们需要传递一个有效的访问令牌

查询用户:

https://api.github.com/user/orgs

查询组织中的成员。were {organization} 是组织名称区分大小写

https://api.github.com/orgs/ {组织}/members

于 2020-06-10T05:25:57.957 回答