Parameters
1 query
Query parameters
· 1pathstringOptionalDirectory path to list. Defaults to root "/".
/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.
1 query
pathstringOptionalDirectory path to list. Defaults to root "/".
/1 status code documented
pathstringRequiredCurrent directory path.
folderListobject[]RequiredList of subfolders in the current directory.
namestringRequiredFolder name.
itemsCountnumberRequiredNumber of items in the folder.
fileListobject[]RequiredList of files in the current directory.
idstringRequiredUnique file token.
filenamestringRequiredFile name.
sizenumberRequiredFile size in bytes.
insertedDatestringRequiredDate when the file was uploaded (ISO format).
totalFileCountnumberRequiredTotal number of files in directory (recursive).
totalSizenumberRequiredTotal size of all files in bytes (recursive).
totalSizeFormattedstringRequiredHuman-readable total size (e.g., "1.5 MB").
canDownloadbooleanRequiredWhether the directory can be downloaded as ZIP (false if empty or too many files).
{
"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
}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"All BizKitHub public API endpoints require authentication via API key.