Infomaniak Kdrive icon

Infomaniak Kdrive

Interact with Infomaniak Kdrive API

Actions178

Drive > Files > Trash → Count Directory/File In Trashed Directory

AI-generated

Summary

Count items in a trashed directory or file within Infomaniak Kdrive.

Inputs

  • authentication — Authentication method for Infomaniak API. Defaults to OAuth2; API Key is also supported.
  • path_drive_id (required) — The drive identifier.
  • path_file_id (required) — The file identifier.
  • returnFullResponse — Return the full API response instead of just the count.

Output shape

When returnFullResponse is false, returns a count of items in the specified trashed directory/file. When true, returns the full API response payload.

Both path_drive_id and path_file_id are required parameters. The operation targets the trashed directory/file context as configured in the node's resource filter.

Links

Discussion