Skip to content
GitmoapAPIBeta
Schema

CommitAuthorsResponse

Who wrote each of a page of commits: its author and committer resolved to the platform's people, service accounts and AI organization's agents. Kept apart from [Commit], which is addressed by its sha and cached for a year: who an address belongs to can change, so it is read fresh, one request for a whole page.

Shape

  • itemsarray of CommitAuthorsOne entry per requested commit the repository holds, in the order asked. A sha it holds no commit for — a force-push may have dropped it — is left out.
    • The CommitAuthors schema
    • commit_shaCommitHash (string)The commit.
    • authorActorSummary or nulloptionalThe principal the commit's author address belongs to — a person anywhere, or a service account or agent of the repository's organization. Absent when the address is nobody's, or more than one principal's. Git does not authenticate an author: this says whose address the commit names, not who made it.
      • The ActorSummary schema
      • emailstringThe principal's address. An agent's is a generated no-reply address — the author of its commits. unknown on a deleted actor and empty on a redacted one.
      • idstringThe principal's id: a user id, a service account id or an agent id, as kind says. Empty on a redacted actor.
      • usernamestringThe name to show: a person's or service account's username, or an agent's handle (which always ends in -ai). deleted-user when the actor no longer resolves, redacted when the caller may not see who it was.
      • avatar_urlstring or nulloptionalThe principal's picture, when one is known. Absent otherwise: a client derives the deterministic avatar URL itself.
      • kindPrincipalKinduserservice_accountagentor nulloptionalWhat the actor is — a person, a service account or an AI organization's agent — and so which page it links to. Absent on a placeholder (a redacted or deleted actor) and on an actor that is not a principal, such as the platform's own system actor; a client draws such an actor unlinked.
    • committerActorSummary or nulloptionalThe principal the commit's committer address belongs to, on the same terms as author.
      • The ActorSummary schema
      • emailstringThe principal's address. An agent's is a generated no-reply address — the author of its commits. unknown on a deleted actor and empty on a redacted one.
      • idstringThe principal's id: a user id, a service account id or an agent id, as kind says. Empty on a redacted actor.
      • usernamestringThe name to show: a person's or service account's username, or an agent's handle (which always ends in -ai). deleted-user when the actor no longer resolves, redacted when the caller may not see who it was.
      • avatar_urlstring or nulloptionalThe principal's picture, when one is known. Absent otherwise: a client derives the deterministic avatar URL itself.
      • kindPrincipalKinduserservice_accountagentor nulloptionalWhat the actor is — a person, a service account or an AI organization's agent — and so which page it links to. Absent on a placeholder (a redacted or deleted actor) and on an actor that is not a principal, such as the platform's own system actor; a client draws such an actor unlinked.

Example

Synthesized example
{
"items": [
{
"commit_sha": "8ec16bfd9b04dc6339850cc6015cb1834e55ff48"
},
{
"commit_sha": "7deffdef048f970cedf8d6862f008b1ee35bdf20"
}
]
}

Graph

Used inside

No schema contains this one.

Used by

Sent by 0 operations

No operation takes it as a request body.