List a folder
GET/businesses/{business}/files
The entries in one folder.
Needs the files:read scope.
Parameters
businessinteger, in path, required- The business id, from GET /businesses.
pathstring, in query- The folder. Defaults to /.
curl "https://helstify.com/api/v1/businesses/60/files?path=%2Fpublic" \ -H "Authorization: Bearer $HELSTIFY_KEY"
{
"ok": true,
"business": "Northwind Coffee",
"entries": [
{
"name": "public",
"type": "dir",
"size": 4096,
"modified": 1794172440,
"mode": "drwxr-xr-x"
},
{
"name": "composer.json",
"type": "file",
"size": 1874,
"modified": 1793525412,
"mode": "-rw-r--r--"
}
]
}