Skip to content
GitmoapAPIBeta
Schema

TreeEntryCommit

One entry of a directory listing, with the commit that last changed it.

Shape

  • namestringThe entry's name within the directory being listed.
  • pathstringThe entry's full path from the repository root — the key to join against a tree listing.
  • typeTreeEntryTypeblobtree
  • commitCommitSummary or nulloptionalThe newest commit that changed this file, or anything inside this directory. Absent when the search reached its limit before finding one; truncated on the response says so.
    • The CommitSummary schema
    • author_namestringThe author's name as recorded in the commit — a git identity, not a gitmoap account.
    • authored_atstringWhen the change was written, ISO 8601.
    • committed_atstringWhen the commit was created, ISO 8601. Later than authored_at after a rebase or a cherry-pick; this is the time a "last updated" column should show.
    • shaCommitHash (string)The full commit SHA.
    • short_shaShortCommitHash (string)The abbreviated SHA, as git chose to abbreviate it in this repository.
    • titlestringThe commit message's first line.
    • author_avatar_urlstring or nulloptionalThe author's avatar, when this instance serves avatars.
    • author_emailEmail (string) or nulloptionalThe author's email as recorded in the commit. Absent when the commit records something that is not an email address; the commit still has its name and message, only no avatar.

Example

Synthesized example
{
"name": "payments-api",
"path": "path-821b",
"type": "blob",
"commit": {
"author_name": "Lin Park",
"authored_at": "2026-10-17T06:02:12Z",
"committed_at": "2026-10-15T18:26:23Z",
"sha": "c295bdfc84f32aeb8d05389d5e464450f828fb90",
"short_sha": "6cddeca0f70e059e764852dd275df43e38f53aa8",
"title": "Pin a page's payload to the build that rendered it",
"author_avatar_url": "https://gitmoap.example/acme/975b10ed",
"author_email": "tomas@acme.example"
}
}

Graph

Used by

Sent by 0 operations

No operation takes it as a request body.