TreeNode
A node in the tree structure.
Kind: an object, used in responses.
Fields
Section titled “Fields”Every field is present in a response; empty ones are null.
| Field | Type | Description |
|---|---|---|
name | string | Name of the file or directory. |
path | string | Full path within the file system. |
type | string | Entry type: “file” or “directory”. |
size | integer | File size (0 for directories). |
children | TreeNode[] | Child nodes (for directories). |
Example
Section titled “Example”{ "name": "...", "path": "...", "type": "...", "size": 0, "children": [ { "name": "...", "path": "...", "type": "...", "size": 0, "children": [] } ]}Where it’s used
Section titled “Where it’s used”- Inside
TreeResponse