Drive > Files > Trash
Count Directory/File in trashed Directory
Changed onCount the number of Directory and File
get/2/drive/{drive_id}/trash/{file_id}/count
Request
- Base URLhttps://api.infomaniak.com
- URLhttps://api.infomaniak.com/2/drive/{drive_id}/trash/{file_id}/count
- AuthHTTP bearer
Path parameters
drive_idinteger required
the drive identifier
file_idinteger required
the file identifier
Response
OK
Example response
{
"result": "success",
"data": {
"count": 10,
"files": 6,
"directories": 4
}
}Changes
- warning
added the new
forbidden_errorenum value to the//response property for the response status
- warning