12-06-2019 02:03 AM
How can I add adapters in my request to Nuxeo servers using Nuxeo java client (v3.2.0)
I want to fetch the blob converted as pdf. From the REST-API I can make calls like:
GET http://localhost:8080/nuxeo/api/v1/path/{docPath}/@blob/file:content/@convert?converter=any2pdf
How to add the convert adapter in the Java Client?
Currently I can fetch the blob using client like:
nuxeoClient.repository().streamBlobByPath(path, "file:content");
12-06-2019 12:05 PM
Hello,
I think you can use the three Automation operations listed here: https://doc.nuxeo.com/nxdoc/conversion/#automation
Just use the operation method in Java Client as described here: https://doc.nuxeo.com/client-java/3.2/automation/
I hope it helps.
Regards.
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.