repos
Get the last year of commit activity
Returns the last year of commit activity grouped by week. The days array is a group of commits per day, starting on Sunday.
get/repos/{owner}/{repo}/stats/commit_activity
Request
- Base URL: https://api.github.com
- URL: https://api.github.com/repos/{owner}/{repo}/stats/commit_activity
- Auth: none declared
Path parameters
ownerstring required
The account owner of the repository. The name is not case sensitive.
repostring required
The name of the repository without the .git extension. The name is not case sensitive.
Response
Response
Example response
[
{
"days": [
0,
3,
26,
20,
39,
1,
0
],
"total": 89,
"week": 1336280400
}
]Changes
No recorded changes to this operation across all 23 revisions of this API.