Platform Explorer / Nuxeo Platform LTS 2015 7.10

Operation NuxeoDrive.AttachBlob

Nuxeo Drive: Attach blob

Description

Operation id NuxeoDrive.AttachBlob
Category Services
Label Nuxeo Drive: Attach blob
Requires
Since

Parameters

Name Description Type Required Default value
document document yes  
applyVersioningPolicy boolean no false 
factoryName string no defaultFileSystemItemFactory 

Signature

Inputs blob
Outputs blob

Implementation information

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

JSON definition

{
  "id" : "NuxeoDrive.AttachBlob",
  "label" : "Nuxeo Drive: Attach blob",
  "category" : "Services",
  "requires" : null,
  "description" : "Update the given document with the input blob. Return the input blob.",
  "url" : "NuxeoDrive.AttachBlob",
  "signature" : [ "blob", "blob" ],
  "params" : [ {
    "name" : "document",
    "description" : "The document to update.",
    "type" : "document",
    "required" : true,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  }, {
    "name" : "applyVersioningPolicy",
    "description" : "",
    "type" : "boolean",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ "false" ]
  }, {
    "name" : "factoryName",
    "description" : "",
    "type" : "string",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ "defaultFileSystemItemFactory" ]
  } ]
}