Hi,
I need to retrieve all documents version in a folder.
For a particular document , i am able to get its all versions using below rest url
alfresco/service/api/version?nodeRef=workspace://SpacesStore/ab015fa6-3cb5-4cc3-9847-9c79e9da0d56
how to get all versions for all documents inside a particular folder recursively ?
Just call the same kind of operation for each document in a folder... Use CMIS or ReST API (i.e. v1 ReST API for navigation) to recurse over folders and list their documents, and then get the versions for those.
There is no API to do what you ask in one single operation, unless you are prepared to code a new web script to provide a custom ReST API operation (Java, JavaScript and/or FreeMarker required).
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.