AnsweredAssumed Answered

Get GeneralClassifiable tags via REST API?

Question asked by ajperez on Jun 28, 2010
Hi all,

I have set up some categories in Alfresco via Administration console > Category management, and I'm able to associate them to documents having the cm:generalclassifiable aspect.

Now I'm trying to use the REST API to get a list of these tags, but it's not working. If I do a GET request to http://localhost:8080/alfresco/service/api/tags/workspace/SpacesStore, I get an empty array as response: [ ]

I also tried to get the tags associated to a document with http://localhost:8080/alfresco/service/api/node/workspace/spacesstore/67f254d8-36a9-402b-8e8a-07f86315e5ee/tags, but got the same answer, [ ]

I've noticed in Node browser that all my categories are under workspace > spacesstore > category_root > generalclassifiable, whereas workspace > spacesstore > category_root > taggable is empty. Is the REST API service limited to taggable children only? Or am I doing something wrong?

Outcomes