OnlyOffice

Interact with OnlyOffice files and folders

Folder → Copy

AI-generated

Summary

Copy a folder to a specified destination folder while handling any naming conflicts according to the chosen resolution strategy.

Inputs

  • Item ID (required) — ID of the folder to copy.
  • Destination Folder ID (required) — ID of the destination folder where the folder will be copied.
  • Conflict Resolution — Specifies how to handle name conflicts at the destination: skipping the copy, overwriting the existing folder, or duplicating both.

Output shape

a single JSON object representing the result of the copy operation as returned by the OnlyOffice API

The output contains the API response confirming the copy. Errors returned by the API will be propagated. The operation uses authenticated API requests and expects valid folder IDs.

Discussion