1. Front-end
HFS 3
  • Introduction
  • SendList over SSE
  • Front-end
    • List files
      GET
    • Upload
      PUT
    • Upload
      POST
    • Delete
      DELETE
    • Create folder
      POST
    • Refresh session
      GET
    • Login
      POST
    • Login SRP step 1
      POST
    • Login SRP step 2
      POST
    • Logout
      POST
    • Subscribe to notifications
      GET
    • File details
      GET
    • Rename entry
      POST
    • Move files
      POST
    • Copy files
      POST
    • Set comment
      POST
    • Folder size
      GET
    • Folder size progress
      GET
  • Admin
    • misc
      • get config
      • set config
    • accounts
      • add account
      • update account
      • list accounts
      • delete account
      • list usernames
      • get account
      • list admins
      • Change password with SRP
    • VFS
    • plugins
      • get plugin config
      • set plugin config
    • monitoring
    • log
  • Schemas
    • Schemas
    • DirEntry
    • inline_response_200
    • Session
    • folder_body
    • SrpStep1
    • UploadResult
    • Account
    • MultipartUploadResult
    • FolderSize
    • UploadMeta
    • Date
    • FileDetails
    • FileDetailsResponse
    • MoveFilesResponse
  1. Front-end

List files

GET
/~/api/get_file_list
returns all files of a specified folder

Request

Query Params

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'http://localhost/~/api/get_file_list?uri=&offset=&limit=&search=&searchComment=&fileMask=&wild=&c=&onlyFolders=&onlyFiles=&admin='

Responses

🟢200all files accordingly to the specified parameters
application/json
all files accordingly to the specified parameters
Bodyapplication/json

Example
{
    "can_archive": true,
    "can_upload": true,
    "can_delete": true,
    "can_comment": true,
    "list": [
        {
            "n": "string",
            "c": "2019-08-24T14:15:22.123Z",
            "m": "2019-08-24T14:15:22.123Z",
            "s": 0,
            "p": "string",
            "comment": "string"
        }
    ]
}
Modified at 2026-11-05 17:14:33
Previous
SendList over SSE
Next
Upload
Built with