ContributionsResponse
The contribution heatmap for a principal over an inclusive UTC date range. A pure aggregate — never carries repository identity.
Shape
cellsarray of ContributionCellSparse, ascending by
date. Only days with activity.- The ContributionCell schema
by_typeContributionByType
- The ContributionByType schema
- commitsinteger · int64
- issuesinteger · int64
- mrsinteger · int64
- releasesinteger · int64
- reviewsinteger · int64
- countinteger · int64
- datestringThe UTC calendar day,
YYYY-MM-DD.
- current_streakinteger · int64Consecutive active days ending at
to. - fromstringResolved inclusive range start,
YYYY-MM-DD. - longest_streakinteger · int64Longest run of consecutive active days within the range.
- max_per_dayinteger · int64Largest single-day
count(frontend color-scale denominator). - principal_idstringThe subject user or service account id.
- principal_typestring
userorservice_account. - tostringResolved inclusive range end,
YYYY-MM-DD. - totalinteger · int64Sum of
countacross all cells in range.
Example
Synthesized example{
"cells": [
{
"by_type": {
"commits": 85,
"issues": 29,
"mrs": 29,
"releases": 52,
"reviews": 65
},
"count": 3,
"date": "date-f201"
}
],
"current_streak": 33,
"from": "from-146d",
"longest_streak": 69,
"max_per_day": 7,
"principal_id": "311dd204-176e-409b-852d-46d0126b038e",
"principal_type": "principal-type-1e45",
"to": "to-4f72",
"total": 3
}
Graph
Used inside
No schema contains this one.
Contains
Used by
Sent by 0 operations
No operation takes it as a request body.