all content, endpoints, and code provided by this API are licensed under the GNU Affero General Public License v3 (AGPL-3.0).
By accessing or using this API, you agree to comply with the terms of the AGPLv3.
For more details, please read the full license at GNU AGPLv3.
Authorization: ********************
{
"path": "/",
"password": "",
"refresh": false,
"page": 1,
"per_page": 30
}
curl --location --request POST '/api/fs/list' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"path": "/",
"password": "",
"refresh": false,
"page": 1,
"per_page": 30
}'
{
"code": 200,
"message": "success",
"data": {
"content": [
{
"id": "",
"path": "D:\\files\\document.pdf",
"name": "document.pdf",
"size": 1024000,
"is_dir": false,
"modified": "2025-10-20T15:30:00+08:00",
"created": "2025-10-20T10:00:00+08:00",
"sign": "YBgnmykwCXUstXvNGtECaz_12gseXSL03cpqh5rTcGA=:0",
"thumb": "",
"type": 4,
"hashinfo": "null",
"hash_info": null,
"mount_details": {
"driver_name": "Local",
"total_space": 1000000000000,
"free_space": 500000000000
}
}
],
"total": 14,
"readme": "",
"header": "",
"write": true,
"provider": "Local"
}
}