How to re-process a large number of documents to generate new renditions?

This is somewhat similar to a question I posed earlier, but what is the best way to have Nuxeo update a number of documents so that new renditions/conversions are made for those existing documents?

We have tens of thousands of picture documents that need to be processed by Nuxeo to get new renditions that we have recently defined for images. I am unsure what is the best practice to do this. I know that re-importing an image will generate all current renditions, but that obviously doesn't work well for a large number of images.

Is there an automation or technique that could work well for this use-case? Thanks.

0 votes

1 answers

915 views

ANSWER



The best is to use the Nuxeo Management REST API: there's an endpoint to recompute thumbnails and renditions from a query: https://doc.nuxeo.com/nxdoc/nuxeo-management-rest-api/#recompute-thumbnails

0 votes



Thanks, that makes sense. I appreciate the answer.
10/02/2020