Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events

How to fetch fields/datatypes of Content Fragment Model(not content fragment) using Headless GET API in AEM?

Avatar

Level 3

How to fetch fields/datatypes of Content Fragment Model(not content fragment) using Headless GET API in AEM?

1 Reply

Avatar

Level 7

@Rohit4 

Why do you want to do that? What's the usecase?

Generally, CF Model is not a something which will change on a fly. So for third parties which needs a JSON should stick to the defined schema.

If you change the schema on the fly, then how it will system will manage the existing data in CF.