Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The endpoint to mark an existing document as "deleted" is as follows:

Code Block
languagexml
http://<nuxeoserverip>:<nuxeoport>/nuxeo/api/v1/automation/Document.SetLifeCycle
 

This must be called as http-POST with body information as follows:

Code Block
languagexml
{"params":{"value":"delete"},"input":"/default-domain/workspaces/Patricia/<pathToDocument>","context":{}}

In the above, <nuxeoserverip>, <nuxeoport>, and <pathToDocument> must be replaced by the appropriate values.