开发者

Private email addresses for private collaborators using github api

开发者 https://www.devze.com 2023-01-15 15:31 出处:网络
I want to use the github api to get a list of private email addresses for collaborators on a project.

I want to use the github api to get a list of private email addresses for collaborators on a project.

I've tried using

curl -u username:password http://github.com/api/v2/yaml/user/show/username

but I can only access public email addresses. Is it possible to access the开发者_JS百科 private email addresses?


Based on the version 3 of the API pass scope=user:email will give you the private email address.


I don't believe Github has a concept of "private email addresses". Under each user account admin, you can list your email, but it's clearly listed as "publicly visible". There is no private email option

0

精彩评论

暂无评论...
验证码 换一张
取 消