/bff/drive/list
Returns a list of files and subfolders in the specified directory path, together with recursive directory statistics (total file count, size). Use this endpoint to browse the file storage structure and to show download preview.
DrivegetBffDriveList
Parameters
1 query
Query · 1
pathstringDirectory path to list. Defaults to root "/".
Request
GET /bff/drive/list
curl -X GET "https://api.bizkithub.com/bff/drive/list?path=%2F" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY"Response
Directory listing with folders, files, and recursive statistics.
{
"path": "example_path",
"folderList": [
{
"name": "example_name",
"itemsCount": 0
}
],
"fileList": [
{
"id": "example_id",
"filename": "example_filename",
"size": 0,
"insertedDate": "example_insertedDate"
}
],
"totalFileCount": 0,
"totalSize": 0,
"totalSizeFormatted": "example_totalSizeFormatted",
"canDownload": false
}All response codes
1 status code documented
Need an API key?
All BizKitHub API endpoints require authentication via API key.