cURL
curl --request GET \ --url https://api.mudstack.com/workspace/folders/stats \ --header 'Authorization: Bearer <token>' \ --header 'x-account-id: <x-account-id>' \ --header 'x-workspace-id: <x-workspace-id>'
{ "total_folders": 123, "total_files": 123, "total_size": 123 }
Retrieve statistics for a specific folder.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The path of the folder to retrieve statistics for.
The ID of the library to retrieve statistics for.
Folder statistics retrieved successfully.
Statistics related to folders and files within a workspace.
The total number of folders.
The total number of files.
The total size of all files in bytes.
Was this page helpful?