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- Source
github-v3-rest.json- Revision
f5f067c1e6f6- Active snapshot
85e53e3d0d65
Request
Path Parameters
- owner stringrequired
- repo stringrequired
Responses
application/json array[Commit Activity object]
Response
items Commit Activity objectCommit Activity
items Commit Activity object
Commit Activity
days array[integer]
requiredExample:
[
0,
3,
26,
20,
39,
1,
0
]total integer
requiredExample: 89
week integer
requiredExample: 1336280400
application/json object
Accepted
Response body object
A header with no content is returned.