GET
/repos/{owner}/{repo}/stats/commit_activityGet 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.
- RetriesRetries up to 2×, 500ms backoff, 30s timeout.
ownerstringrequired
The account owner of the repository. The name is not case sensitive.
repostringrequired
The name of the repository without the `.git` extension. The name is not case sensitive.
200Response
daysarray<integer>required
totalintegerrequired
weekintegerrequired
202Accepted
204A header with no content is returned.
Was this helpful?