Infomaniak Kdrive icon

Infomaniak Kdrive

Interact with Infomaniak Kdrive API

Actions178

Drive > Files > File/Directory > Version → Download

AI-generated

Summary

Download a specific version of a file from Infomaniak Kdrive.

Inputs

  • authentication (required) — Authentication method to use for the API request. Defaults to OAuth2 if not specified. Choose between OAuth2 or API Key authentication schemes provided by Infomaniak Kdrive.
  • path_drive_id (required) — Unique identifier of the Infomaniak Kdrive. Must be a numeric value corresponding to the target drive.
  • path_file_id (required) — Unique identifier of the file or directory to download. Must be a numeric value.
  • path_version_id (required) — Unique identifier of the specific file version to download. Must be a numeric value.
  • returnFullResponse — Controls the shape of the returned data. When set to true, the full API response is emitted as a single item. When false (default), the response is processed into standard n8n items for further workflow use.

Output shape

Emits one or more items depending on returnFullResponse. If true, a single item containing the raw API response. If false, standard n8n items representing the downloaded file version metadata and content links.

Authentication requires valid OAuth2 credentials or an API key with appropriate Infomaniak Kdrive scope. All three identifiers (drive, file, version) are mandatory for the download operation to succeed.

Examples

Example 1: Download a file version using OAuth2 authentication

authentication: OAuth2; path_drive_id: 12345; path_file_id: 67890; path_version_id: 1; returnFullResponse: false

Links

Discussion