I'm developing an application that interfacing with an Alfresco community 4.2. I read in the documentation that there were two ways to acces to the repository using REST API: - REST API - CMIS REST API I need for my application to: - List all users' root directories - List items in a directory - Recover a file - Share a document (folder, file etc ...) - Accessing the history of a file - Create and delete a user
At first I tried to use Apache Chemistery API by following an example found on Internet. You can see this post on this topic : CmisObjectNotFoundException when trying to access my Alfresco repository
Finally having no experience on this topicI thought it would be better to use the API REST provided by Alfresco to make CMIS call. Unfortunately this one is very little documented, I managed to make some REST calls http://localhost:8080/alfresco/api/-default-/public/cmis/versions/1.1/atom/children?Id=86f1c760-905e-4920-98a8-a6bdd10aa but the XML stream is not easy to understand My question is : - What is the best use? CMIS REST Api? CMIS Client? - Where is the simple and clear definition of the REST APIs that make the CRUD in the GED repo? - How to access the User Area node
Thanks !