Infomaniak Kdrive icon

Infomaniak Kdrive

Interact with Infomaniak Kdrive API

Actions178

Drive > Files > File/Directory > Version → Restore To Directory

AI-generated

Summary

Restore a file version to a destination directory in Infomaniak Kdrive.

Inputs

  • authentication — Authentication method for Infomaniak API. Select OAuth2 or API Key. Default: OAuth2.
  • driveId (required) — Identifier of the Drive containing the file.
  • fileId (required) — Identifier of the file to restore.
  • versionId (required) — Identifier of the file version to restore.
  • destinationDirectoryId (required) — Identifier of the target directory where the version will be restored.
  • bodyName — Optional name for the file in the destination directory.
  • queryParameters — Optional additional query parameters. May include related resources via the query_with parameter.
  • returnFullResponse — If true, the full API response will be returned as workflow data. Default: false.

Output shape

Depends on returnFullResponse. If false, returns standard n8n item(s). If true, returns the complete API response object.

No side effects beyond the restore operation on the Infomaniak Kdrive platform.

Links

Discussion