aem graphql sample queries. 1 - Modeling Basics; 2 - Advanced Modeling; 3 - Creating GraphQL Queries; 4 - Content Fragment Variations; 5 - GraphQL Endpoints; 6 - Author and Publish Architecture; 7 - GraphQL Persisted Queries; Basic Tutorial. aem graphql sample queries

 
 1 - Modeling Basics; 2 - Advanced Modeling; 3 - Creating GraphQL Queries; 4 - Content Fragment Variations; 5 - GraphQL Endpoints; 6 - Author and Publish Architecture; 7 - GraphQL Persisted Queries; Basic Tutorialaem graphql sample queries  There are three main classifications of slow queries in AEM, listed by severity: Index-less queries

Clone and run the sample client application. This is because all fragments that share a model being used within the GraphQL query have to be loaded into memory. An end-to-end tutorial illustrating how to build-out and expose content using AEM Headless. Clone and run the sample client application. This is because they must be hosted in pages that are based on dedicated AEM templates. 1. The GraphQL API in AEM allows you to expose Content Fragment data to downstream applications. Manage GraphQL endpoints in AEM. Build a React JS app using GraphQL in a pure headless scenario. Congratulations! Congratulations, you created and executed several GraphQL queries! Next Steps. Install sample content. 1 Answer. It’s neither an architectural pattern nor a web service. Clone the adobe/aem-guides-wknd-graphql repository:Learn how to create GraphQL queries to return content from Adobe Experience Manager (AEM) and how to use the GraphiQL tool to quickly test, refine, and debug queries. And some sample GraphQL queries, based on the sample Content Fragment structure (Content Fragment Models and related Content Fragments). Client applications can then implement these GraphQL queries to fetch data from AEM and power their app. The SPA retrieves this content via AEM’s GraphQL API. Install sample React App Below is the reference of React Sample App to get, install, and explore. Multiple variables are. or and p. NOTE. and thus. Headless content delivery based on GraphQL can be fast, but might also cause performance bottlenecks in some cases. AEM SDK; Video Series. Adobe Engineering and Consulting teams have developed a comprehensive set of best practices for AEM developers. In this tutorial, we’ll use the GraphiQL IDE to start experimenting with queries. An end-to-end tutorial illustrating advanced concepts of Adobe Experience Manager (AEM) GraphQL APIs. This server-to-server application demonstrates how to query content using AEM’s GraphQL APIs using persisted queries and print it on terminal. An end-to-end tutorial illustrating how to build-out and expose content using AEM Headless. One of the use cases for such groups is for embedding content in third-party touchpoints, such as Adobe Target. The CORS configuration must specify a trusted website origin alloworigin or alloworiginregexp for which access must be granted. Upload and install the package (zip file) downloaded in the previous step. Sign In. Depending on the type selected, there are three flavors available for use in AEM GraphQL: <code>onlyDate</code>, <code>onlyTime</code>,. Prerequisites. - JcrQueryLibrary. Reload to refresh your session. The strange thing is that the syntax required by graphql endpoint in AEM, is. AEM SDK; Video Series. Schemas on publish are the most critical as they provide the foundation for live delivery of Content Fragment. To securely setup AEM GraphQL for use with Content Fragments and your apps you need to configure various components. IMPORTANT In, some versions of AEM (6. Learning to use GraphQL with AEM; The Sample Content Fragment Structure; Learning to use GraphQL with AEM - Sample Content and Queries; What’s Next. Learn how to define and use Content Fragments in Adobe Experience Manager (AEM) for use with GraphQL. 5 and AEM as a Cloud Service. Persisted Queries; Optimizing GraphQL Queries; Updating your Content Fragments for optimized GraphQL Filtering; Authentication for Remote AEM GraphQL Queries on Content Fragments; AEM GraphQL API with Content Fragments - Sample Content and Queries; Hybrid and SPA AEM Development. </p> <p dir=\"auto\"><strong>Sample Query</strong></p> <div class=\"highlight highlight-source-graphql notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-cop. The Form Participant Step presents a form when the work item is opened. Whenever a Content Fragment Model is created or updated, the schema is translated and added to the “graph” that makes up the GraphQL. Learn how to use GraphQL with AEM to serve content headlessly by exploring sample content and queries. AEM Gems is a series of technical deep dives into Adobe Experience Manager delivered by Adobe experts. The GraphiQL tool enables developers to create and test queries against content on the current AEM environment. On an AEM instance with a high number of Content Fragments that share the same model, GraphQL list queries can become costly (in terms of resources). The response of a GET request can be cached at the Dispatcher and Content Delivery Network (CDN) layers, ultimately improving the performance. WorkflowSession. An Experience Fragment: consists of a group of components together with a layout, can exist independently of an AEM page. express-graphql is just a helper to mount the query resolver to a endpoint. Learn how to enable, create, update, and execute Persisted Queries in AEM. Below is sample execution of GraphQL query having filtered result. In the previous document of the AEM headless journey, How to Access Your Content via AEM Delivery APIs you learned how to access your headless content in AEM via the AEM GraphQL API and you should now: Have a high-level understanding of GraphQL. Details. Rich text with AEM Headless. This session dedicated to the query builder is useful for an overview and use of the tool. AEM SDK; Video Series. Then I have another content fragement (let's. The basic operation of queries with GraphQL for AEM adhere to the standard GraphQL specification. Content Fragments are used, as the content is structured according to Content Fragment Models. GraphQL query is an API for headless architecture to deliver content fragment data in the form of JSON. In this chapter, a stubbed-out sample React app is implemented with the code required to interact with AEM’s GraphQL API, and display team and person data obtained from them. The AEM Headless quick setup gets you hands-on with AEM Headless using content from the WKND Site sample project, and a sample React App (a SPA) that consumes the content over AEM Headless GraphQL APIs. The queries shown in this video, are just a sample to give you an idea of some of the powerful things you can do with GraphQL. The basic operation of queries with GraphQL for AEM adhere to the standard GraphQL specification. GraphQL queries look the same for both single items or lists of. To get started with this advanced tutorial, follow these steps: Set up a development environment using AEM as a Cloud Service. 2_property. Make sure you have the below configurations done in order to consume GraphQL: Go to Tools → General → Configuration Browser → Open properties of your project. In this tutorial, you learn how to integrate the requests for persisted queries into the sample WKND GraphQL React app using the AEM Headless Client for JavaScript. Developing AEM Components. Example for matching either one of two properties against a value: group. And some sample GraphQL queries, based on the sample Content Fragment structure (Content Fragment Models and related Content Fragments). Here I’ve got a react based application that displays a list of adventures from AEM. To get started with GraphQL queries and how they work with AEM Content Fragments, it helps to see some practical examples. I have the below questions: 1. Query AEM for a list of teams, and their referenced members; Query AEM for a team member’s details; Get the sample React app. js v18; Git; 1. It is used to fetch values and can support arguments and points to arrays. Experiment constructing basic queries using the GraphQL syntax. Now that you have learned how to access and query your headless content using the AEM GraphQL API you can now learn how to use the REST API to access and update the content of your Content Fragments. Start the tutorial chapter on Create Content. Prerequisites. Prerequisites. Say my content fragment model's schema type looks like this: type Message {_path: ID, id: String, body: MultiFormatString} Each content fragment has a unique id that is required. </p> <p. To help with this see: A sample Content Fragment structure. Preventing XSS is given the highest priority during both development and testing. Understand how the Content Fragment Model. This section describes how to extend the Query Builder by implementing a custom predicate evaluator. Core Components. This endpoint can use all Content Fragment Models from all Sites configurations (defined in the Configuration Browser ). The AEM GraphQL API is a customized version based on the standard GraphQL API specification, specially configured to allow you to perform (complex) queries on your Content Fragments. Create Content Fragments based on the. Learn how to enable, create, update, and execute Persisted Queries in AEM. References to other content, such as images or other Content Fragments can be dynamically inserted in-line within the flow of the text. Some useful JCR queries (XPATH, SQL2) for AEM/CQ development. In this chapter, a stubbed-out sample React app is implemented with the code required to interact with AEM’s GraphQL API, and display team and person data obtained from them. Created for: Beginner. In this chapter, a stubbed-out sample React app is implemented with the code required to interact with AEM’s GraphQL API, and display team and person data obtained from them. The GraphiQL tool lets you test and debug your GraphQL queries by enabling you to: select the Endpoint appropriate to the Sites configuration that you want. In the edit dialog (of the Process Step ), go to the Process tab and select your process. Helps to provide directions for converting graphql operation into data. To get started with this advanced tutorial, follow these steps: Set up a development environment using AEM as a Cloud Service. Learn how to use Content Fragments in Adobe Experience Manager (AEM) with the AEM GraphQL API for headless content delivery. To get started with this advanced tutorial, follow these steps: Set up a development environment using AEM as a Cloud Service. In the backend, AEM translates the GraphQL queries to SQL2 queries. Alternatively, you can also use CRXDE Lite to get a list of all the components available in the repository. GraphQL is an open source server-side technology which was developed by Facebook to optimize RESTful API calls. Schemas are generated by AEM based on the Content Fragment Models. In your Java™ code, use the DataSourcePool service to obtain a javax. Description. supports headless CMS scenarios where external client applications render experiences using content managed in AEM. NOTE. This chart illustrates the general flow to use the Query Performance Tool to optimize queries. In this tutorial, you learn how to integrate the requests for persisted queries into the sample WKND GraphQL React app using the AEM Headless Client for JavaScript. Select aem-headless-quick-setup-wknd in the Repository select box. We’ll look at the benefits of GraphQL, the GraphQL tooling available in AEM, and simple and advanced GraphQL query creation. Persisted queries are queries that are stored on the Adobe Experience Manager (AEM) server. And some sample GraphQL queries, based on the sample Content Fragment structure (Content Fragment Models and related Content Fragments). js application demonstrates how to query content using AEM’s GraphQL APIs using persisted queries. It provides a more flexible and efficient way to access. The GraphiQL tool also enables users to persist or save queries to be used by client applications in a production setting. GraphQL has a robust type system. js v18; Git; 1. Queries that resolve to an index, but must traverse all index entries to collect. The best way to get started with GraphQL and AEM is to start experiment with queries using our sample content fragment data. Clone and run the sample client application. The benefit of this approach is cacheability. js initializes and exports the AEM Headless Client used to communicate with AEM; src/api/usePersistedQueries. Network calls to persistent GraphQL queries are cached as these are GET calls. adobe. Persisted Query logic. Start the tutorial chapter on Create Content Fragment Models. In this chapter, you use the GraphiQL Explorer to define more advanced queries to gather data of the. AEM creates these based on your. DataFetcher object. The following are examples of how image URLs can prefix the AEM host value made configurable for various headless app frameworks. Solved: In the AEM Sample Queries for filtering tags, the sample CF defines the Categories field as a Tag data type. 6. To get started with GraphQL queries and how they work with AEM Content Fragments, it helps to see some practical examples. AEM creates these based. named queries, string comparisons, static parameters, all the documented features and syntax of graphql doesnt seem to work with graphql on AEM. This sample demonstrates the dialog diff technique of the Sling Resource Merger; including use of sling:orderBefore. Getting started. Also, review How to execute a Persisted query, Using query variables, and Encoding the query URL for use by an app to learn persisted query execution by client applications. Anatomy of the React app. Getting started. To get started with this advanced tutorial, follow these steps: Set up a development environment using AEM as a Cloud Service. AEM SDK; Video Series. To accelerate the tutorial a starter React JS app is provided. js v18; Git; 1. An end-to-end tutorial illustrating how to build-out and expose content using AEM’s GraphQL APIs and consumed by an external app, in a headless CMS scenario. Sign In. This guide uses the AEM as a Cloud Service SDK. This sample application retrieves the content from AEM by invoking the persisted GraphQL queries and renders it in an immersive experience. In this tutorial, you learn how to integrate the requests for persisted queries into the sample WKND GraphQL React app using the AEM Headless Client for JavaScript. Get started with Adobe Experience Manager (AEM) and GraphQL. It uses a filter to - 425661GraphQL Query optimization. The best way to get started with GraphQL and AEM is to start experiment with queries using our sample content fragment data. Use the value of the delivery token against the access_token key in the header to authenticate your API. Sample Queries. An end-to-end tutorial illustrating how to build-out and expose content using AEM’s GraphQL APIs and consumed by an external app, in a headless CMS scenario. The content of this Cheat Sheet applies to AEM 6. GraphQL has a robust type system. AEM provides the Content Fragment core component - a component that lets you include content fragments on your pages. Client applications like mobile, devices can make a query using GraphQL and get the data they want in mostly JSON format…I recommend storing the graphql in one file, and script for processing it in a separate file, and then combining the two at the prompt. Sling Models. This guide uses the AEM as a Cloud Service SDK. Terms: Let’s start by defining basic terms. This sample application retrieves the content from AEM by invoking the persisted GraphQL queries and renders it in an immersive experience. Content fragments can be referenced from AEM pages, just as any other asset type. The best way to get started with GraphQL and AEM is to start experiment with queries using our sample content fragment data. The AEM Headless Client for JavaScript is used to execute the GraphQL persisted queries that. I think you have to update update your graphql queries as well when you upgrade AEM to 6. Query AEM for a list of teams, and their referenced members; Query AEM for a team member’s details; Get the sample React app. An end-to-end tutorial illustrating how to build-out and expose content using AEM Headless. X) the GraphiQL Explorer (aka. AEM Content Fragments work together with the AEM GraphQL API (a customized implementation,. The following configurations are examples. js App. js (JavaScript) AEM Headless SDK for Java™. To use GraphQL in AEM, you will need to create a GraphQL endpoint in AEM. The basic operation of queries with GraphQL for AEM adhere to the standard GraphQL specification. AEM Gem session Search forms made easy with the AEM querybuilder for a detailed overview of the query builder. supportedheaders includes "Authorization" as requests to AEM Author should be authorized. It contains sample queries for QueryBuilder, XPath, and SQL-2, covering multiple scenarios which behave differently in terms of query performance. This end-to-end tutorial continues the basic tutorial that covered the fundamentals of Adobe Experience Manager (AEM) Headless and GraphQL. The AEM Headless quick setup gets you hands-on with AEM Headless using content from the WKND Site sample project, and a sample React App (a SPA) that consumes the content over AEM Headless GraphQL APIs. This method can then be consumed by your own applications. See how AEM powers omni-channel experiences. GraphQL has a robust type system. Overview; 1 - Defining Content Fragment Models; 2 - Authoring Content Fragments; 3 - Explore. cors. An end-to-end tutorial illustrating how to build-out and expose content using AEM Headless. Clone the adobe/aem-guides-wknd-graphql repository:Open Technologies. Invest in the knowledge, specifications, standards, tooling, data, people, and organizations that define the next 50 years of the API economy. This tutorial explores how AEM’s GraphQL APIs and headless capabilities can be used to power the experiences surfaced in an external app. For GraphQL queries with AEM there are a few extensions: . The AEM Headless quick setup gets you hands-on with AEM Headless using content from the WKND Site sample project, and a sample React App (a SPA) that consumes the content over AEM Headless GraphQL APIs. Build a React JS app using GraphQL in a pure headless scenario. Adobe Experience Manager (AEM) Gems is a series of technical deep dives into Adobe Experience Manager delivered by Adobe experts. To get started with this advanced tutorial, follow these steps: Set up a development environment using AEM as a Cloud Service. Bascially, what I need is , given a content path, e. ViewsA GraphQL query is used to read or fetch values while a mutation is used to write or post values. See GraphQL. GraphQL is an open-source data query and manipulation language for APIs and a runtime for fulfilling queries with existing data. The implementation of the tagging framework in AEM allows management of tags and tag content using the JCR API . The content returned can then be used by your applications. 1 - Modeling Basics; 2 - Advanced Modeling; 3 - Creating GraphQL Queries; 4 - Content Fragment Variations; 5 - GraphQL Endpoints; 6 - Author and Publish Architecture; 7 - GraphQL Persisted Queries; Basic Tutorial. The sample React app has three main parts: The src/api folder contains files used to make GraphQL queries to AEM. Build ReactJS (with Apollo Client library) and jQuery client applications to consume the API. Manage GraphQL endpoints in AEM. Overlay is a term that is used in many contexts. Prerequisites. Clone the adobe/aem-guides-wknd-graphql repository:The GraphiQL tool lets you test and debug your GraphQL queries by enabling you to:. It really depends on the use case and the scope of the project. Select aem-headless-quick-setup-wknd in the Repository select box. Install sample content. GraphQL API. A query is a client request made by the graphql client for the graphql server. 3. Every GraphQL API must have a schema. The Single-line text field is another data type of Content Fragments. Adobe Experience Manager (AEM)—and before that, CQ—has long used the principle of overlays to let you extend and customize the consoles and other functionality (for example, page authoring ). Each argument must be named and have a type. Query AEM for a list of teams, and their referenced members; Query AEM for a team member’s details; Get the sample React app. Persisted queries are queries that are stored on the Adobe Experience Manager (AEM) server. executeQuery(query, new HashMap<>(), (url, headers, body) -> { /** * The requestHeaders providers headers. It provides a flexible and powerful way to fetch. 1_property. AEM SDK; Video Series. You can also extend, this Content Fragment core component. In fact the question detail states: "I would like ALL companies and their offices where the office id is equal to 2". 本記事では、AWS AppSync と GraphQL API を活用して、Amazon Bedrock の基盤モデル (FM) とエージェントをパブリック API とプライベート API およ. To get started with GraphQL queries, and how they work with AEM Content Fragments, it helps to see some practical examples. js v18;. GraphQL was developed internally by Facebook in 2012 before being publicly released in 2015. Checks if the name is not empty and contains only valid chars. GraphQL provides a complete and understandable description of the data in your API, gives clients the power to ask for exactly what they need and nothing more, makes it easier to evolve APIs over time, and enables powerful developer tools. For example:. A modern content delivery API is key for efficiency and performance of Javascript-based frontend applications. Clone the adobe/aem-guides-wknd-graphql repository:The best way to get started with GraphQL and AEM is to start experiment with queries using our sample content fragment data. Download Advanced-GraphQL-Tutorial-Starter-Package-1. Open aem-authoring-extension-page-dialog project. In this tutorial, you learn how to integrate the requests for persisted queries into the sample WKND GraphQL React app using the AEM Headless Client for JavaScript. In this chapter, a stubbed-out sample React app is implemented with the code required to interact with AEM’s GraphQL API, and display team and person data obtained from them. Select Full Stack Code option. Query AEM for a list of teams, and their referenced members; Query AEM for a team member’s details; Get the sample React app. zip. ) that is curated by the. AEM SDK; Video Series. To accelerate the tutorial a starter React JS app is provided. AEM creates these based on your. Using the AEM JSON exporter, you can deliver the contents of any AEM page in JSON data model format. The. The advanced tutorial illustrates in-depth aspects of working with Content Fragment Models, Content Fragments, and the AEM GraphQL persisted queries, including using the GraphQL persisted queries in a. Browse the following tutorials based on the technology used. Install an AEM package that contains several folders and sample images used to accelerate the tutorial. . The GraphQL API in AEM allows you to expose Content Fragment data to downstream applications. The following tools should be installed locally: JDK 11; Node. GraphQL is: “…a query language for APIs and a runtime for fulfilling those queries with your existing data. The SPA retrieves. Content can be viewed in-context within AEM. 5 Graphql persistent query use with Java Apollo client. Learn how AEM automatically generates a GraphQL schema based on a Content Fragment model. Update cache-control parameters in persisted queries. Using your schemas, GraphQL presents the types and operations allowed for the GraphQL for AEM implementation. Clone the adobe/aem-guides-wknd-graphql repository:Developer. Experiment constructing basic queries using the GraphQL syntax. Due to the many advantages of GraphQL - exact data fetching, versionless API evolution, single API call data fetching, strongly type. Learn how to create, update, and execute GraphQL queries. In either case, the operation is a simple string that a GraphQL server can parse and respond to with data in a specific format. In the basic tutorial multi-step GraphQL tutorial, you used the GraphiQL Explorer to test and refine the GraphQL queries. In the next chapter, Build React app, you explore how an external application can query AEM’s GraphQL endpoints and use these two persisted. Courses Recommended courses Tutorials Certification Events Instructor-led training Browse content library View all learning options. The syntax to define a query. Some content is managed in AEM and some in an external system. To support AEM GraphQL persisted queries (and Experience Fragments), add GET. Select the APIs blade. Depending on your instance, you can directly access the GraphiQL interface included with AEM GraphQL API for submitting and testing queries. g let's say a piece of content fragment built by Product Model. In this tutorial, we’ll cover a few concepts. sql. Select main from the Git Branch select box. The AEM Headless quick setup gets you hands-on with AEM Headless using content from the WKND Site sample project, and a sample React App (a SPA) that consumes the content over AEM Headless GraphQL APIs. In this tutorial, we’ll use the GraphiQL IDE to start experimenting with queries. The Query Builder offers an easy way of querying the content repository. This guide uses the AEM as a Cloud Service SDK. Experience LeagueOn the Source Code tab. The examples assume the use of GraphQL queries that return image references using the _dynamicUrl field. The examples assume the use of GraphQL queries that return image references using the _dynamicUrl field. Deploying a SPA that interacts AEM in a headless manner involves hosting the SPA and making it accessible via a web browser. CORSPolicyImpl~appname-graphql. An end-to-end tutorial illustrating how to build-out and expose content using AEM Headless. The AEM GraphQL API lets you perform (complex) queries on your Content Fragments; with each query being according to a specific model type. Query AEM for a list of teams, and their referenced members; Query AEM for a team member’s details; Get the sample React app. The endpoint is the path used to access GraphQL for AEM. The GraphQL API in AEM allows you to expose Content Fragment data to downstream applications. Learn more about the CORS OSGi configuration. The AEM GraphQL API allows you to update the default cache-control parameters to your queries in order. Client applications like mobile, devices can make a query using GraphQL and get the. The AEM Headless quick setup gets you hands-on with AEM Headless using content from the WKND Site sample project, and a sample React App (a SPA) that consumes the content over AEM Headless GraphQL APIs. Angular CLI Command To Create Angular App: ng new. In this chapter, a stubbed-out sample React app is implemented with the code required to interact with AEM’s GraphQL API, and display team and person data obtained from them. In this chapter, a stubbed-out sample React app is implemented with the code required to interact with AEM’s GraphQL API, and display team and person data obtained from them. Install the AEM SDK, add sample content and deploy an application that consumes content from AEM using its GraphQL APIs. Query AEM for a list of teams, and their referenced members; Query AEM for a team member’s details; Get the sample React app. g let's say a piece of content fragment built by Product Model. To get started with this advanced tutorial, follow these steps: Set up a development environment using AEM as a Cloud Service. An end-to-end tutorial illustrating how to build-out and expose content using AEM and consumed by a native mobile app, in a headless CMS scenario. 04-01-2023 10:38 PST. Manage. This Web Component application demonstrates how to query content using AEM’s GraphQL APIs using persisted queries and render a portion of UI, accomplished using pure JavaScript code. Clients can send an HTTP GET request with the query name to execute it. Clone and run the sample client application. The following tools should be installed locally: JDK 11;. Note: I assume that we have access to our example data and properties id and name via GraphQL. type=cq:Page. Connecting to the Database. In this course, you’ll learn what GraphQL is and why it is getting so much attention from software engineers. Query will look like:GraphQL is a query language for your API. Workflows. Client applications can then implement these GraphQL queries to fetch data from AEM and power their app. View the source code on GitHub. If a persistedQuery exists under the extensions key, Dgraph will try to process a Persisted Query: if no sha256 hash is provided, process the query without persisting. GraphQL has a robust type system. The GraphQL API in AEM allows you to expose Content Fragment data to downstream applications. Retail sample content, you can choose Foundation Components or use Core. This GraphQL query returns an image reference’s. Reload to refresh your session. Query. Using this path you (or your app) can: receive the responses (to your GraphQL queries). Example applications are a great way to explore the headless capabilities of Adobe Experience Manager (AEM). mdRead real-world use cases of Experience Cloud products written by your peersLearn how to use GraphQL with AEM to serve content headlessly by exploring sample content and queries. AEM as a Cloud Service’s Query Performance Tool delivers more information about the details of the query execution over the AEM 6. Here’s an example that includes the keyword HeroNameAndFriends and describes what type of operation you're intending to do. The popular response format that is usually used for mobile and web applications is JSON. Allowing for bulk delivery of exactly what is needed for rendering as the response to a single API query. The basic operation of queries with GraphQL for AEM adhere to the standard GraphQL specification. Getting started. Move to the app folder. Start here for a guided journey through the powerful and flexible headless features of AEM, their capabilities, and how to leverage them on your project. Progress through the tutorial. In this tutorial, you learn how to integrate the requests for persisted queries into the sample WKND GraphQL React app using the AEM Headless Client for JavaScript. Content Fragment models define the data schema that is used by Content Fragments. An end-to-end tutorial illustrating how to build-out and expose content using AEM Headless. Install sample content. Sample Query looks like below: query{ personAddress{ lastName address{ addressLine1 addressLine1 city state country } } }. Adobe Experience Manager (AEM) Gems is a series of technical deep dives into Adobe Experience Manager delivered by Adobe experts. AEM - Explore GraphQL APIs by Adobe Docs Abstract The GraphQL API of AEM provide a powerful query language to expose data of Content Fragments to downstream. Learn how to execute GraphQL queries against endpoints. Run AEM as a cloud service in local to work.