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}

Request

  • Base URL
    https://api.recordedfuture.com/fusion/v3
  • URL
    https://api.recordedfuture.com/fusion/v3/files/directory/{path}
  • Auth
    • API key in header X-RFToken
    • or OAuth 2
      Authorization code: https://id.recordedfuture.com/authorize
      Token URL: https://id.recordedfuture.com/token

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"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.