Get the weekly commit activity
Returns a weekly aggregate of the number of additions and deletions pushed to a repository.
Path Parameters
Response
application/json
Response
Returns a weekly aggregate of the number of additions and deletions pushed to a repository.
Code Frequency Stat
Path Parameters
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
.
Path Parameters
Response
application/json
Response
Response
Commit Activity
Example:[0,3,26,20,39,1,0]
Example:89
Example:1336280400
Path Parameters
Get all contributor commit activity
Returns the total
number of commits authored by the contributor. In addition, the response includes a Weekly Hash (weeks
array) with the following information:
w
- Start of the week, given as a Unix timestamp.a
- Number of additionsd
- Number of deletionsc
- Number of commits
Path Parameters
Response
application/json
Response
w
- Start of the week, given as a Unix timestamp.a
- Number of additionsd
- Number of deletionsc
- Number of commits
Contributor Activity
Simple User
Show Child Parameters
Example:135
Example:[{"w":"1367712000","a":6898,"d":77,"c":10}]
Show Child Parameters
Path Parameters
Get the weekly commit count
Returns the total commit counts for the owner
and total commit counts in all
. all
is everyone combined, including the owner
in the last 52 weeks. If you’d like to get the commit counts for non-owners, you can subtract owner
from all
.
The array order is oldest week (index 0) to most recent week.
Path Parameters
Response
application/json
Response
The array order is oldest week (index 0) to most recent week.
Participation Stats
Path Parameters
Get the hourly commit count for each day
Each array contains the day number, hour number, and number of commits:
0-6
: Sunday - Saturday0-23
: Hour of day- Number of commits
For example, [2, 14, 25]
indicates that there were 25 total commits, during the 2:00pm hour on Tuesdays. All times are based on the time zone of individual commits.
Path Parameters
Response
application/json
Response
For example, [2, 14, 25]
indicates that there were 25 total commits, during the 2:00pm hour on Tuesdays. All times are based on the time zone of individual commits.
Code Frequency Stat