Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

How to get nested json using AEM Assets API


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