Skip to content

Latest commit

 

History

History
52 lines (37 loc) · 2.8 KB

README.md

File metadata and controls

52 lines (37 loc) · 2.8 KB

GraphQL Icon GraphQL

With GraphQL endpoints, Datahub allows integrating Pimcore to other systems and services via GraphQL and test them with the integrated GraphiQL explorer tool right away.

Preview

Explorer

Configuration

Configuration takes place in the endpoint configuration and offers following possibilities:

Queries

Depending on the configuration, the endpoint provides several queries to fetch data from Pimcore. As Datahub always creates a proper graphQL schema, also have a look at the generated schema to get details for the possible queries of a certain endpoint.

On the following pages certain generic aspects are explained, and a couple of samples are listed:

Mutations

Depending on the configuration, the endpoint provides several mutations to update data in Pimcore. As Datahub always creates a proper graphQL schema, also have a look at the generated schema to get details for the possible mutations of a certain endpoint.

See following pages for a general overview of possible mutations:

Hands-on-testing using GraphiQL explorer

GraphiQL explorer can be opened for an endpoint in an iframe within Pimcore or as an additional browser tab.

Open iExplorer

Events

It is possible to customize default behavior of graphQL endpoint with event listeners. For details see Events Documentation.