Copies all the selected files and folders to the folder with the ID specified in the request.
Name | Description | Type | Example |
DestFolderId
sent in body
|
Destination folder ID | System.Text.Json.JsonElement | |
ConflictResolveType
sent in body
|
Overwriting behavior | Skip, Overwrite, Duplicate | Skip |
DeleteAfter
sent in body
|
Specifies whether to delete a folder after the editing session is finished or not | Bool value | true |
PUT api/2.0/files/fileops/copy Host: yourportal.onlyoffice.com Content-Type: application/json Accept: application/json { "ConflictResolveType": "Skip", "DeleteAfter": true }
List of file operations
{ "status": 0, "response": [ { "Id": "some text", "Progress": 1234, "Error": "some text", "Processed": "some text", "Finished": true, "Url": "some text" } ] }