cancel
Showing results for 
Search instead for 
Did you mean: 

Get all the categories using the RESTFULL API

el_mozo
Champ in-the-making
Champ in-the-making
Hello everybody,

All my documents in alfresco are Categorizable. (Category as an Aspect)

I would like to get all the catégories using the restfull API. Is that possible ?

I'm able to get all the tag using this : "http://localhost:8080/alfresco/service/api/tags/workspace/SpacesStore"

But how can i get all the categories ?

Here a screen of what i want (it's a french version) : http://www.hostingpics.net/viewer.php?id=3453512016011810h0046.png


I want to get all the categories, for all documents, not categories for a specific one.

Thx a lot in advance.

Cordialy.
2 REPLIES 2

niketapatel
Star Contributor
Star Contributor
You may use this picker service for category .

To get all root categories - /api/forms/picker/category/alfresco/category/root/children 

Then to get sub-categories need to add parent category noderef - /api/forms/picker/category/workspace/SpacesStore/518eabd1-3593-458f-9c17-fae4b5f95c01/children

el_mozo
Champ in-the-making
Champ in-the-making
Thx a lot NiketaPatel,

This looks like exactly what i was looking for !!

Regards