Copies (and converts if possible) an existing file to the specified folder.
Name | Description | Type | Example |
fileId
sent in url
|
File ID | string | some text |
destFolderId
sent in body
|
Destination folder ID | string | some text |
destTitle
sent in body
|
Destination file title | string | some text |
POST api/2.0/files/file/%22some+text%22/copyas Host: yourportal.onlyoffice.com Content-Type: application/json Accept: application/json { "destFolderId": "some text", "destTitle": "some text" }
Copied file