Skip to content

TreeResponse

A directory tree: nested from root, and as a flat list in entries.

Kind: an object, used in responses.

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

FieldTypeDescription
rootTreeNode| nullRoot node of the tree.
entriesTreeEntry[]Flat list of all entries (alternative view).
fileCountintegerTotal number of files found.
directoryCountintegerTotal number of directories found.
{
"root": {
"name": "...",
"path": "...",
"type": "...",
"size": 0,
"children": [
{}
]
},
"entries": [
{
"path": "...",
"type": "...",
"depth": 0,
"size": 0
}
],
"fileCount": 0,
"directoryCount": 0
}