Creation of renditions from client

cancel
Showing results for 
Search instead for 
Did you mean: 
saurav
Member II

Creation of renditions from client

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

1 Reply
Highlighted
alxgomz
Established Member

Re: Creation of renditions from client

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...)