GET api/2.0/files/fileops/move
Checks a batch of files and folders for conflicts when moving or copying them 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
|
ASC.Web.Files.Services.WCFService.FileOperations.FileConflictResolveType
|
|
DeleteAfter
sent in body
|
Specifies whether to delete a folder after the editing session is finished or not
|
System.Boolean
|
|
GET api/2.0/files/fileops/move
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
{
"ConflictResolveType": "Skip",
"DeleteAfter": true
}
List of file entry information
application/json
{
"status": 0,
"response": [
{
"Title": "some text",
"Access": "ReadWrite",
"Shared": true,
"ProviderKey": "some text"
}
]
}
text/xml
<result>
<status>0</status>
<response>
<Title>some text</Title>
<Access>ReadWrite</Access>
<Shared>True</Shared>
<ProviderKey>some text</ProviderKey>
</response>
</result>