Skip to main content

Browse

Browse

These requests can be used to browse the filesystem. Given a path (relative to the working directory or absolute), it will respond with the full absolute path as well as a list of files and a list of directories inside it.

Requests look as follows:

{
"path": "/path/here" //If empty, the current working directory is assumed
}

And responses look as follows:

{
"path": {
//The full absolute folder path
"path":"/tmp/example"
//An array of strings showing all files
"files":
["file1.dtsc",
"file2.mp3",
"file3.exe"
]
//An array of strings showing all subdirectories
"subdirectories":[
"folder1"
]
}
}