AEM’s GraphQL APIs for Content Fragments
supports headless CMS scenarios where external client applications render experiences using content managed in AEM.
Large number of requests for fetching one object at a time
Often “over-delivering” content, meaning the application receives more than it needs
To overcome these challenges GraphQL provides a query-based API allowing clients to query AEM for only the content it needs, and to receive using a single API call.
AEM GraphQL vs. AEM Content Services
AEM GraphQL APIs AEM Content Services
Schema definition Structured Content Fragment Models AEM Components
Content Content Fragments AEM Components
Content discovery By GraphQL query By AEM Page
Delivery format GraphQL JSON AEM ComponentExporter JSON