cancel
Showing results for 
Search instead for 
Did you mean: 

Nuxeo and renditions

cstettler_
Champ on-the-rise
Champ on-the-rise

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?

1 ACCEPTED ANSWER

rg1_
Star Contributor
Star Contributor

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/Project...

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"
    }
]

View answer in original post

2 REPLIES 2

rg1_
Star Contributor
Star Contributor

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/Project...

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"
    }
]

Florent_Guillau
World-Class Innovator
World-Class Innovator

See [NXP-14023](https

Getting started

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.