fs

Return directory listing or file content

Changed on

Returns a list of files/directories if the requested path pointed to a directory or the content of the file otherwise

get/fs

Request

  • The document declares no server URL.
  • Auth
    none declared

Query parameters

downloadboolean

should the file be downloaded?

recursiveboolean

also include all sub-folders in the directory listing

Response

successful operation

namestring
type'DIR' | 'FILE'
parentFolderstring
hasChildrenboolean
childrenFsEntry[] circular
readableboolean
writeableboolean
mountedboolean

true when this file/folder is inside a mounted folder

trashboolean

marks the trash folder

inTrashboolean

true when this entry is inside the trash folder

hashnumber

hash value for file content (CRC32)

Changes

    • info

      added to the response body allOf list for the response status

    • info

      removed from the response body oneOf list for the response status

    • warning

      added the new DIR enum value to the ///// response property for the response status

    • warning

      added the new FILE enum value to the ///// response property for the response status

    • info

      added the optional property ///// to the response with the status

    • info

      added the optional property ///// to the response with the status

    • info

      removed the dir enum value from the ///// response property for the response status

    • info

      removed the file enum value from the ///// response property for the response status