Skip to content

TreeEntry

A flat entry in the tree (alternative to nested structure).

Kind: an object, used in responses.

Every field is present in a response; empty ones are null.

FieldTypeDescription
pathstringFull path within the file system.
typestringEntry type: “file” or “directory”.
depthintegerDepth from root (0 = root).
sizeintegerFile size (0 for directories).
{
"path": "...",
"type": "...",
"depth": 0,
"size": 0
}