09-21-2017 02:33 AM
Hi All,
I want to create rendition from my custom developed Alfresco client.
For this i was looking into Alfresco Content Services REST API Explorer create rendition post call.
As i understand i have to just provide the node id for which i have to create rendition and then the type of rendition i want to create in renditionBodyCreate.
Am i correct about renditionBodyCreate ? For e.g for doclib i will provide "id":"doclib" or thumbnails ?#
Also clients itself cannot provide any rendition content. It has to be generated by alfresco server itself.
Is my understanding correct
Best Regards,
Saurav
09-21-2017 08:57 AM
From the quick tests I did, that sounds like a good understanding of how this endpoint works.
The nodeId has to be set in path of the request and would be the node-uuid, while the rendition id has to be set within the POST body and would be anything that can be of type cm:thumbnail (so for example webpreview or imgpreview or pdf, etc...)
Explore our Alfresco products with the links below. Use labels to filter content by product module.