Nuxeo and renditions

I am looking to add documents that have multiple renditions. In my case they will be documents that contains XML or JSON fragments.

I want to use CMIS api to use getRenditions() api to retrieve the appropriate view of the document.

Is nuxeo supporting this ability yet? If so is there any useful documentation?

0 votes

1 answers

3193 views

ANSWER



Nuxeo implemented support for the CMIS getRenditions service in the 5.9.4 release. Here is an example getRenditions service request using the Browser Binding. The example response is included as well

Request URL: http://demo.nuxeo.com/nuxeo/json/cmis/default/root/default-domain/workspaces/IT%20Department/Projects/Database%20Creation/Logo%20Nuxeo.png?cmisselector=renditions

JSON Response

[
    {
        "streamId": "nuxeo:icon",
        "mimeType": "image/gif",
        "length": 1384,
        "kind": "cmis:thumbnail",
        "title": "image.gif",
        "height": 16,
        "width": 16
    },
    {
        "streamId": "nuxeo:rendition:pdf",
        "mimeType": "application/pdf",
        "length": null,
        "kind": "nuxeo:rendition",
        "title": "label.rendition.pdf"
    }
]
1 votes



08/08/2014