Infomaniak Kdrive icon

Infomaniak Kdrive

Interact with Infomaniak Kdrive API

Actions178

Drive > Files > Trash → Get Trashed File

AI-generated

Summary

Retrieve a specific file from the trash folder of an Infomaniak Kdrive.

Inputs

  • authentication — Authentication method to use for the API request. Defaults to OAuth2 if not specified. Choose between OAuth2 or API Key authentication schemes provided by the Infomaniak integration.
  • path_drive_id (required) — the drive identifier
  • path_file_id (required) — the file identifier
  • query_order_by — Optional parameter that define the field used for sorting
    Part of the sort capacity
  • query_order — Optional parameter that define the default sort order
    Part of the sort capacity
  • query_order_for — Optional parameter that define the sorting order for a field
    By default order is used
    Part of the sort capacity
  • returnFullResponse — If set to true, the full API response will be returned instead of the processed item array. Defaults to false.

Output shape

When returnFullResponse is false (default), returns an array of n8n items representing the trashed file metadata. When true, returns the complete raw API response object.

The operation reads the file currently in the trash folder of the specified drive using the provided file identifier. Sorting query parameters are optional and only affect the API call if provided.

Links

Discussion