Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

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