ListTreeResponse
Shape
- has_moreboolean
itemsarray of TreeEntry
- The TreeEntry schema
- modestring
- namestring
- oidObjectId (string)The entry's git object id at this commit. For a file, it is the
blob_shaa 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–∞
- pageinteger0–∞
- total_countinteger0–∞
Example
Synthesized example{
"has_more": false,
"items": [
{
"mode": "mode-57fa",
"name": "payments-api",
"oid": "oid-2a06",
"path": "path-f6c1",
"type": "blob"
},
{
"mode": "mode-d91c",
"name": "payments-api",
"oid": "oid-6420",
"path": "path-f9d0",
"type": "blob"
}
],
"page": 89,
"total_count": 1
}
Graph
Used inside
No schema contains this one.
Contains
Used by
Sent by 0 operations
No operation takes it as a request body.
Returned by 1 operation