How to get nested json using AEM Assets API | Community
Skip to main content
March 24, 2021
Question

How to get nested json using AEM Assets API

  • March 24, 2021
  • 0 replies
  • 1109 views

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.