A person's contribution graph and timeline for the last year
A contribution is a commit that reached a repository's main (credited to its author and to every Co-authored-by person whose sign-in email it names, if they can open that repository; merge commits never), a branch opened (by the person whose sign-in pushed it), a review, or a repository made. Pushes, merges as such, checks and saves of the shared files themselves do not count. A repository's past commits count when its main first arrives (pando init in an existing repo, a first push of main), read in the background a page at a time.
A viewer sees only the work in repositories they can open now, on their own profile too. Counts are kept per UTC hour in the person's feed; a credit shows about half a second after a merge. With day, the answer is that day's ContributionPeriod. 404 for an org or no such person.
https://app.gitpando.com/v1/users/{login}/contributionsAuthorisation
Path parameters
- loginstringrequired
A user's login, which is their namespace, or an organization's (one space for both): 1 to 39 lower-case letters, digits and single hyphens, no hyphen at either end (input in any case is lowered). Reserved, because a namespace is the first URL segment: v1, healthz, login, logout, settings, assets, fonts, new, api, app, static, orgs, users, docs, install. A login made at sign-in comes from the email's local part, skipping reserved and taken names (
base,base-2, ...base-999, then a random tail).pattern: ^[a-z0-9](?:[a-z0-9]|-(?=[a-z0-9])){0,38}$
Query parameters
- tzoptionalinteger
The viewer's time zone, in minutes east of UTC (-420 for California in summer; the browser's -getTimezoneOffset()). Days are counted in it, at its offset today for the whole year: up to an hour off across a daylight-saving change, half-hour zones rounded to the hour.
maximum: 840, minimum: -720Default: 0
Returns
200
OK (Contributions; with day, ContributionPeriod)