• Getting Started
  • Lessons
  • Developer Guides
    • Model and Databases
    • Templates and Views
    • Controllers
    • Forms
    • Configuration
    • Extending Silverstripe CMS
    • Testing
    • Debugging
    • Performance
    • Security
    • Email
    • Integration and Web Services
    • Search
    • i18n
    • Files
    • Customising the Admin Interface
    • Execution pipeline
    • Command Line Interface
    • Cookies and Sessions
    • Graphql
      • Getting started
      • Working with DataObject models
      • Working with generic types
      • Security & best practices
      • Plugins
      • Extending the schema
      • Tips & Tricks
      • Architecture Diagrams
  • Upgrading
  • Changelogs
  • Contributing
  • Project Governance
  1. Developer Guides
  2. Graphql
Version 4End of Life

This version of Silverstripe CMS will not receive any additional bug fixes or documentation updates.

Go to documentation for the most recent stable version

Silverstripe CMS GraphQL server#

GraphQL is the content API layer for Silverstripe CMS. It is the recommended way of getting data in and out of the content management system.

For more information on GraphQL in general, visit its documentation site.

NOTE

You are viewing docs for silverstripe/graphql 4.x. If you are using 3.x, documentation can be found in the GitHub repository

Getting started

Open up your first GraphQL server and build your schema

Working with DataObject models

Add DataObject models to your schema, expose their fields, add read/write operations, and more

Working with generic types

Break away from the magic of DataObject models and build types and queries from scratch.

Security & best practices

A guide to keeping your GraphQL API secure and accessible

Plugins

Learn what plugins are and how you can use them to extend your schema

Extending the schema

Add new functionality to the schema

Tips & Tricks

Miscellaneous useful tips for working with your GraphQL schema

Architecture Diagrams

A visual overview of the architecture and design of GraphQL 4

Edit on GitHub