DorkOSDorkOS
ApiDirectory

Browse directories

Browse directories on the server filesystem. Restricted to the home directory for security.

GET
/api/directory

Query Parameters

path?string
Length1 <= length
showHidden?|
Defaultfalse

Response Body

application/json

application/json

application/json

application/json

curl -X GET "http://localhost:6942/api/directory"
{
  "path": "string",
  "entries": [
    {
      "name": "string",
      "path": "string",
      "isDirectory": true
    }
  ],
  "parent": "string"
}
{
  "error": "string",
  "details": null
}
{
  "error": "string",
  "details": null
}
{
  "error": "string",
  "details": null
}