Skip to content
GitmoapAPIBeta
Schema

StaleFile

A file a commit would change that is no longer what the caller edited.

Shape

  • pathstring
  • current_blob_shaObjectId (string) or nulloptionalThe blob at the branch's head now. Absent when the file has been deleted.
  • last_commitCommitSummary or nulloptionalThe commit that last changed the file, when it was found in time.
    • 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
{
"path": "path-c816",
"current_blob_sha": "afff82ef0e25af53bfc7b6d926bc42be25c886fa",
"last_commit": {
"author_name": "Lin Park",
"authored_at": "2026-10-09T22:02:54Z",
"committed_at": "2026-10-13T08:11:25Z",
"sha": "376255f840953fd6286fcf3c1d6a70381048fb17",
"short_sha": "5972fef6db15329be4591f5d0c4a2ae8c1c7062c",
"title": "Label every synthesized example",
"author_avatar_url": "https://gitmoap.example/acme/25e27ac7",
"author_email": "mara@acme.example"
}
}

Graph

Used inside

Used by

Sent by 0 operations

No operation takes it as a request body.

Returned by 0 operations

No operation returns it directly.