Get contributors from a branch of a repo

Hello! How i can get contributors and their number of commits for a branch of a repository?

Here, i find some explanation how to get all contributors via rest API:

But this solution relates only for a repository.

I would to get all contributors and sort them by number of commits. How it possible?

1 Like

Hi there @skyshy0707 :wave:

So you can get a list of contributors sorted by number of commits:

However, this only returns values from the default branch. There is currently no way to pull this data via our APIs, from specific branches. I would highly recommend you submit your feedback via this form:

…which submits your suggestions directly to our Product Management teams.

If there is anything remaining, please let us know!