REST and GraphQL

Endpoints enable other software to get real, raw content directly from Magnolia. This is how mobile apps, front-end JavaScript apps, or systems, like e-commerce or banking systems, can connect with Magnolia.

With our out-of-the-box REST Delivery v2 and GraphQL endpoints, this is easy and fast to set up, more powerful and more performant than ever.

Choose whether the REST Delivery endpoint or the GraphQL endpoint is most relevant for your use case. The REST Delivery endpoint is very convenient in giving you the full content from a page in the Pages app and a story from the Stories app with one simple call. On the other hand, if you need to retrieve content from a content app (a specialized app type for managing structured content, see Content Types) and you want control of exactly which properties and related content is included, GraphQL is most convenient.

You can use both in your project. REST and GraphQL are not competitors. Rather, they complement each other to provide you with the flexibility for discrete content retrieval scenarios.

For more information about the endpoints, see the following links:

GraphQL reference

Tutorials and how-to-guides

Note: The following two resources are part of hd.magnolia-cms.com.

See also

Feedback