Expand my Community achievements bar.

Radically easy to access on brand approved content for distribution and omnichannel performant delivery. AEM Assets Content Hub and Dynamic Media with OpenAPI capabilities is now GA.

How to get nested json using AEM Assets API

Avatar

Level 1

I have a scenario where I need to give json to third party which can utilize the content fragments model json.
My first content fragment model json has a reference to another content fragment and that internally has another content fragment reference. While using assets api, I realized there are many properties which are unrequired. Also the json will have only reference to the child content fragment. (/content/dam/xyx/childContentFragment).

What is the best solution to customize the Assets API so that the nested json can be exposed to the front end.
(Content Fragment A has Content Fragment B which has content Fragment C) 

Thank you

0 Replies