Github V3 API Member List

I read the following document ( https://developer.github.com/v3/repos/#list-contributors ) to list the participants in the repository I worked on, and I see that one person who committed several times does not appear and I only have 3 installments, while I pushed most of our 301 commits.

I really don't understand what this endpoint returns, but it does not look accurate. Doc is not very detailed about this, does anyone know anything that could explain this?

+4
source share
1 answer

I submitted my question in support of the Github API, and they gave me an amazingly detailed answer. Here it is (abbreviated):

It looks like your missing commits were created with an email address not associated with your GitHub profile. You can find the missing email at the address adding “.patch” to the end of the commit URL, and then looking at the From: line. As soon as you receive an email, you can link it to your profile by following these instructions:

https://help.github.com/articles/why-are-my-commits-linked-to-the-wrong-user

Once you have linked your email address to your account, contributions will be refunded and new ones should appear automatically.

For example, when I check the commit history of Projet-merou:

https://github.com/jxw1102/Projet-merou/commits/master

GitHub .patch URL-, :

https://github.com/jxw1102/Projet-merou/commit/f5bf30243ab99efc40802d3d78c08e49839ec9c9.patch

:

From: Dicee courtinot.david@orange.fr

. , API .

API:

. !

//: /: /

GET /repos/:owner/:repo/contributors, API GitHub , . . , . Git . API GitHub, . , 500 GitHub. GitHub.

anon=1, API , , GitHub. :

https://api.github.com/repos/jxw1102/Projet-merou/contributors?anon=1

anon=1 :

https://api.github.com/repos/jxw1102/Projet-merou/contributors

, , GitHub .

//: /: //

GET /repos/:owner/:repo/stats/contributors, GitHub API , . .

?

,

@francisfuzz
GitHub

+3

All Articles