Skip to content

A branch's sessions, numbered 1, 2, 3 by their earliest commit there, and each commit's session numbers

A commit links to a session by a Pando-Session: line anywhere in its message, read from the branch's own commits (at most 250) with its facts after each push, and from the commits that reach main. A rewritten commit drops out. A commit's model is the one in force in the session at its commit time, and null when its sessions disagree. Sessions that ran in the branch's worktree with no commit there yet follow, with no number.

GET
https://app.gitpando.com/v1/monorepos/{owner}/{monorepo}/sessions/on-branch

Authorisation

  • credentialoptionalHTTP
  • sessionoptionalAPI key in cookie

Path parameters

  • ownerstringrequired

    The monorepo's owner, a namespace (a person's login or an organization). Matched without case.

    pattern: ^[a-z0-9](?:[a-z0-9]|-(?=[a-z0-9])){0,38}$
  • monorepostringrequired

    The monorepo's name within its owner (or an old name). Matched without case.

    pattern: ^[a-z0-9](?:[a-z0-9._]|-(?!-)){0,38}$

Query parameters

  • repostringrequired
  • branchstringrequired

Returns

200

OK

JSON
  • sessionsarray ofobjectrequired
    4 properties
    • numberinteger | nullrequired
    • idstringrequired
    • sessionunknownrequired

      The session, its deleted stub, or null when no record of it is here.

    • commitsarray ofobjectrequired
      7 properties
      • repostringrequired
      • shastringrequired
      • branchstring | nullrequired
      • titlestringrequired
      • committed_atstringrequired
        format: date-time
      • on_mainbooleanrequired
      • modelstring | nullrequired

        The model in force in the session at the commit's time; null when the sessions naming the commit disagree or one has none, the same in every view.

  • commitsarray ofobjectrequired
    3 properties
    • shastringrequired
    • sessionsarray ofintegerrequired
    • modelstring | nullrequired
Navigation

Type to search…

↑↓ navigate↵ selectEsc close