Skip to content
GitmoapAPIBeta
Schema

CommitAuthors

One commit's author and committer, each the principal its address belongs to.

Shape

  • 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
{
"commit_sha": "f5ffd9810edbea7f47e1fa32fb3ed5622479f98c",
"author": {
"email": "mara@acme.example",
"id": "id-3300",
"username": "mara",
"avatar_url": "https://gitmoap.example/acme/37daf921",
"kind": "user"
},
"committer": {
"email": "lin@acme.example",
"id": "id-13db",
"username": "mara",
"avatar_url": "https://gitmoap.example/acme/562127df",
"kind": "user"
}
}

Graph

Contains

Used by

Sent by 0 operations

No operation takes it as a request body.