Skip to content
GitmoapAPIBeta
Schema

TreeEntry

Shape

  • modestring
  • namestring
  • oidObjectId (string)The entry's git object id at this commit. For a file, it is the blob_sha a blob read returns — so a client holding an edited copy can tell from a listing alone that the file changed underneath it.
  • pathstring
  • typeTreeEntryTypeblobtree
  • sizeinteger · int64 or nulloptional0–∞

Example

Synthesized example
{
"mode": "mode-6684",
"name": "payments-api",
"oid": "oid-a5c9",
"path": "path-abb6",
"type": "blob",
"size": 2
}

Graph

Used inside
Contains

No named schema inside.

Used by

Sent by 0 operations

No operation takes it as a request body.