Drive > Files > Trash
Count Directory/File in Trash
Count the number of Directory and File in trash
get/2/drive/{drive_id}/trash/count
Request
- Base URLhttps://api.infomaniak.com
- URLhttps://api.infomaniak.com/2/drive/{drive_id}/trash/count
- AuthHTTP bearer
Path parameters
drive_idinteger required
the drive identifier
Response
OK
Example response
{
"result": "success",
"data": {
"count": 10,
"files": 6,
"directories": 4
}
}Changes
No recorded changes to this operation across all 40 revisions of this API.