reposGetCommitActivityStats
Get the last year of commit activity
GET /repos/{owner}/{repo}/stats/commit_activity HTTP/1.1Parameters
{
"owner": {
"description": "The account owner of the repository. The name is not case sensitive.",
"required": true,
"location": "path",
"type": "string"
},
"repo": {
"description": "The name of the repository without the `.git` extension. The name is not case sensitive.",
"required": true,
"location": "path",
"type": "string"
}
}Response Schema
{
"type": "array",
"items": {
"title": "Commit Activity",
"description": "Commit Activity",
"type": "object",
"properties": {
"days": {
"type": "array",
"example": [
0,
3,
26,
20,
39,
1,
0
],
"items": {
"type": "integer"
}
},
"total": {
"type": "integer",
"example": 89
},
"week": {
"type": "integer",
"example": 1336280400
}
},
"required": [
"days",
"total",
"week"
]
}
}