01-16-2018 06:15 AM
Hi all,
I'm using Alfresco Community 5.2 and I need to have the list of categories using REST API.
I saw in the old documentation that it was possible in the past but it seems impossible with the new version of API....or I'm doing something wrong?
I'd like to be able to use REST API to treat categories as tags (get the list, add, remove from a node, etc).
Is it possibile to do this with CMIS?
Thank you!
01-16-2018 07:50 AM
If you want to get the list of categories using REST API, refer the discussion on given link.https://community.alfresco.com/thread/214344-get-all-the-categories-using-the-restfull-api
01-17-2018 05:28 AM
The question was about the new v1 ReST API. There is no operation (yet) specific to categories, but you should be able to use the Search v1 REST API to query the list of categories via an Alfresco FTS query, i.e.
PATH:"/my:classificationAspect/*"
or (for pre-defined categories)
PATH:"/cm:generalClassifiable/cm:Regions/*"
Explore our Alfresco products with the links below. Use labels to filter content by product module.