cancel
Showing results for 
Search instead for 
Did you mean: 

Get Available Aspects for Spaces/Content

devmehta555
Champ in-the-making
Champ in-the-making
For eg - In share, we have selection PopUp to apply all available aspects for specific Content/Space by clicking on "Manage Aspects".
I am working on PHP API.
So by using it,
Is there any way to get available aspects for Space/Content using PHP API ?
.


Thanks in Advance,
Devang Mehta
2 REPLIES 2

zaizi
Champ in-the-making
Champ in-the-making
Share uses HTTP REST calls to the Repository to get all Aspects. Just use the same from PHP

Ainga

jonash
Champ in-the-making
Champ in-the-making
The specific REST API call that returns a list of all aspects is http://localhost:8080/alfresco/service/api/classes?cf=aspect The response is a JSON object describing all aspects defined in your repository.