Platform Explorer / Nuxeo Platform 6.0

Operation NuxeoDrive.Move

Nuxeo Drive: Move

Description

Operation id NuxeoDrive.Move
Category Services
Label Nuxeo Drive: Move
Requires
Since

Parameters

Name Description Type Required Default value
destId string yes  
srcId string yes  

Signature

Inputs void
Outputs blob

Implementation information

Implementation class org.nuxeo.drive.operations.NuxeoDriveMove
Contributing component org.nuxeo.drive.operations.NuxeoDriveGetRootsOperation

JSON definition

{
  "id" : "NuxeoDrive.Move",
  "label" : "Nuxeo Drive: Move",
  "category" : "Services",
  "requires" : null,
  "description" : "Move the document backing the file system item with the given source id to the document backing the file system item with the given destination id. Return the moved file system item as a JSON blob.",
  "url" : "NuxeoDrive.Move",
  "signature" : [ "void", "blob" ],
  "params" : [ {
    "name" : "destId",
    "description" : "Id of the destination file system item.",
    "type" : "string",
    "required" : true,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  }, {
    "name" : "srcId",
    "description" : "Id of the source file system item.",
    "type" : "string",
    "required" : true,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  } ]
}