Files API (SFTP)¶
All endpoints require authentication. The user must have access to the server's group.
List Directory¶
Response
{
"path": "/home/user",
"entries": [
{
"name": "documents",
"path": "/home/user/documents",
"is_dir": true,
"size": 4096,
"permissions": "drwxr-xr-x",
"owner": "1000",
"group": "1000",
"modified": "2026-04-08T10:30:00+00:00"
}
]
}
Read Text File¶
Download File¶
Returns the file as a binary response with correct MIME type.