An endpoint that allows to list files and directories in a specified path. It will return a tree representation of the directory structure.
Query parameters:
| Name |
Value |
Default value |
Description |
path |
string |
required |
The path to the directory of which contents should be listed. |
depth |
number |
1 |
The depth of the tree to fetch. The depth of 1 will list just the immediate contents of the provided path. Depth of 2 will also include contents of the subdirectories etc. |
An endpoint that allows to list files and directories in a specified path. It will return a tree representation of the directory structure.
GET/treeQuery parameters:
pathdepth1