Are there REst APIs to look at details of a Type like getTypeProperties(), getAspects(), getParentAssociations(),getChildAssocs()?
Sorry I was not clear. Let us say I want to get all properties and associations of type cm:content (I am at the type level and not at an instance level). Which Restful API should I use to get this information dynamically?
Hi:
Do you refer to this ?
Regards.
--C.
Yes. Thank you. Is there a comparable Restful API for doing this?
Well, the first option is in fact based on a webscript / REST service.
Regards.
--C.
Thanks again.
One last question: Is there a way to include inherited attributes, associations and aspects?
An alternative to using Alfresco native APIs for this is to use CMIS. For example, here are some Java examples that use CMIS to query for type definitions:
Working with Types - Apache Chemistry Samples
And with the CMIS browser binding you can query the dictionary service in a RESTful way. You can see an example request/response log by looking at the getTypeDefinition section in the CMIS specification document.
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.