Infomaniak Kdrive icon

Infomaniak Kdrive

Interact with Infomaniak Kdrive API

Actions178

Drive > Files > Trash → Count Directories/files In Trash

AI-generated

Summary

Count directories and files in the Infomaniak Kdrive trash.

Inputs

  • authentication — Authentication method to use for the Infomaniak API request.
  • path_drive_id (required) — the drive identifier
  • path_file_id (required) — The file or directory identifier.
  • queryParameters — Additional query parameters for the API request.
  • query_depth — Depth parameter for the API request.
  • returnFullResponse — If true, returns the full API response.

Output shape

The API response; when returnFullResponse is false (default), the count of directories and files in the trash is returned. When true, the full API response is returned.

All parameter defaults and types are as declared in the node's description.properties for the specified resource and operation.

Examples

Example 1: Count all items in the trash of a specific drive.

Set authentication, path_drive_id to the target drive's ID, and leave path_file_id empty. query_depth defaults to unspecified; returnFullResponse can be set to true if the full API payload is needed.

Links

Discussion