GET api/2.0/files/fileops/move This function requires authentication

Description

Checks a batch of files and folders for conflicts when moving or copying them to the folder with the ID specified in the request.

Parameters
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
Example
GET api/2.0/files/fileops/move
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json

{
  "ConflictResolveType": "Skip",
  "DeleteAfter": true
}
Returns

List of file entry information

Example Response
{
  "status": 0,
  "response": [
    {
      "Title": "some text",
      "Access": "ReadWrite",
      "Shared": true,
      "Created": "2008-04-10T06-30-00.000Z",
      "CreatedBy": {
        "Id": "9924256A-739C-462b-AF15-E652A3B1B6EB",
        "DisplayName": "some text",
        "Title": "some text",
        "AvatarSmall": "some text",
        "ProfileUrl": "some text",
        "HasAvatar": true
      },
      "Updated": "2008-04-10T06-30-00.000Z",
      "AutoDelete": "2008-04-10T06-30-00.000Z",
      "UpdatedBy": {
        "Id": "9924256A-739C-462b-AF15-E652A3B1B6EB",
        "DisplayName": "some text",
        "Title": "some text",
        "AvatarSmall": "some text",
        "ProfileUrl": "some text",
        "HasAvatar": true
      },
      "ProviderKey": "some text"
    }
  ]
}