Can automation operations on a document be safely invoked by UID in the REST API?

Hello,

In the REST API documentation/sandbox page, it is indicated that automation operations can be invoked on a document by its path:

POST /path/{docPath}/@op/{operationName}

I did a little experiment and found that

POST /id/{docId}/@op/{operationName}

appears to also do the operation correctly. Is this a safe/supported way to address operations to a specific document, even though it's not explicitly included in the online REST documentation? If it makes a difference this is in Nuxeo 6.0.

1 votes

0 answers

1800 views

ANSWER