Customizing GraphQL querying in the Public Content API
Content Delivery allows you to customize and extend the GraphQL query language in the Public Content API in multiple ways.
Custom GraphQL Schema Extensions You can extend the GraphQL Schema to enable the querying of custom data by creating a GraphQL Schema Extension.
Semantic Content Models To process content in JSON format that has been published to Content Delivery using data publishing, you can create your own Semantic Content Model for GraphQL, and customize JSON content transformation. Specifically, you define your own schemas in a text file using GraphQL Schema Definition Language (GraphQL SDL). Semantic Content Models let you change the structure of the published content, or create a custom endpoint that retrieves only some fields of the JSON data fragment.