In this article we will go through on how we can model our content and use AEM delivery APIs to deliver the content as a headless. For this article, I am using aem-sdk-2022.2.6276.20220205T222203Z-220100 from Software Distribution portal.
Creating digital experiences in AEM requires the following steps:
Your content authors create your headless content in the author instance.
When this content is ready, it is replicated to the publish instance.
APIs can then be called to retrieve this content.
Headless capabilities of AEM are based on a few key features:
Content Fragment Models – Defines the structure of the data and content that you create and manage in AEM.
Content Fragment – Allows you to design, create, curate, and publish page-independent content and ready for use in multiple locations and over multiple channels.
GraphQL and REST APIs –
The GraphQL API allows you to create requests to access and deliver Content Fragments.
The Assets REST API allows you to create and modify Content Fragments.
We will now try creating our Content Fragment Model and Content Fragment to model our content. So we need to first enable the below highlighted setting for our project.
Read Full Blog
Please use this thread to ask the related questions.