Platform Explorer / Nuxeo Platform 5.8

Operation Services.CancelLike (Cancel a like for a document or an activity object)

Description

Cancel a like for a document or an activity object.One of the 'document' or 'activityObject' must be set.Returns the related LikeStatus once the action is done.
Operation id Services.CancelLike
Category Services
Label Cancel a like for a document or an activity object
Requires
Since

Parameters

Name Description Type Required Default value
activityId string no  
document document no  

Signature

Inputs void
Outputs blob

Implementation Information

Implementation Class Javadoc: org.nuxeo.ecm.rating.operations.CancelLike
Contributing Component org.nuxeo.ecm.rating.operations

JSON Definition

{
  "id" : "Services.CancelLike",
  "label" : "Cancel a like for a document or an activity object",
  "category" : "Services",
  "requires" : "",
  "description" : "Cancel a like for a document or an activity object.One of the 'document' or 'activityObject' must be set.Returns the related LikeStatus once the action is done.",
  "url" : "Services.CancelLike",
  "signature" : [ "void", "blob" ],
  "params" : [ {
    "name" : "activityId",
    "description" : null,
    "type" : "string",
    "required" : false,
    "widget" : "",
    "order" : 0,
    "values" : [ ]
  }, {
    "name" : "document",
    "description" : null,
    "type" : "document",
    "required" : false,
    "widget" : "",
    "order" : 0,
    "values" : [ ]
  } ]
}