v1

latestOpenAPI 3.1.12026-07-242899061.7 MB
File

Fetch the content of a directory

List files and subdirectories in a Fusion file system directory to discover available outputs before downloading.

get/files/directory/{path}

Path parameters

pathstring required

Directory path. Special characters may be required to be URL encoded depending on which HTTP client is used.

For example, the path '/public/risklists' would be URL encoded as '%2Fpublic%2Frisklists' where the '/' character is encoded as '%2F'. See an HTML URL Encoding Reference for the full encoding table.

Response

Directory listing that shows the content of a directory.

type'directory'
namestring
pathstring

Example response

{
  "name": "home",
  "path": "/home",
  "files": [
    {
      "name": "some-user",
      "path": "/home/some-user"
    }
  ]
}