How to get user commit number who is not repository owner

Hello,

I use REST API v3.

I know owner’s commit number is

GET /repos/:owner/:repo/stats/participation

But particular comtuributor’s commit number is ?

Hey! I am not sure I understand your question here. Can you please elaborate further? What data are you trying to get from the GitHub API? 

The “owner” in this context is just used to specific the owner of the repo. This is a required field for most of the GitHub API since this is the structure of the GitHub URLs. 

1 Like

Thank you for your replying.

I am trying get how may times user commits.

I think  after this,the json length will be commit number.

GET /repos/:owner/:repo/commits?author="username"

 > The “owner” in this context is just used to specific the owner of the repo. This is a required field for most of the GitHub API since this is the structure of the GitHub URLs. 

Yes, thank you.My question was not good.