antony Nextcloud icon

antony Nextcloud

Manage files, folders, shares, versions and search in Nextcloud

Version → Restore

AI-generated

Summary

Restore a file in Nextcloud to the selected saved version by copying that version over the file at its current path.

Inputs

  • File Path (required) — Path to the file in Nextcloud, such as /Documents/report.pdf. The node looks up the file’s ID at this path before restoring.
  • Version ID (required) — Version identifier from the List operation’s name field.

Output shape

A single JSON item for each input item.

On success, each item contains { success: true, filePath, versionId }. The restore replaces the file’s current contents. Missing file IDs or request failures produce an error; with Continue On Fail enabled, the output item contains an error field instead.

Links

Discussion