SilverStripe GraphQL API
SilverStripe CMS provides a GraphQL API via the optional `silverstripe/graphql` module. The schema is code-generated at build time from DataObject models configured in YAML. Types, queries, and mutations are derived automatically from SilverStripe DataObject classes (SiteTree, Page, File, Image, Member, Group, and custom models). The GraphQL module ships with CMS 6 as an optional feature and must be activated and built before use.
Overview
SilverStripe GraphQL API is a GraphQL API specification published by SilverStripe on the APIs.io network.
SilverStripe CMS provides a GraphQL API via the optional silverstripe/graphql module. The schema is code-generated at build time from DataObject models configured in YAML. Types, queries, and mutations are derived automatically from SilverStripe DataObject classes (SiteTree, Page, File, Image, Member, Group, and custom models). The GraphQL module ships with CMS 6 as an optional feature and must be activated and built before use.
The GraphQL endpoint is available at https://yoursite.com/graphql. documentation is published at https://docs.silverstripe.org/en/6/optional_features/graphql/.
The specification includes 2 reference links.
Tagged areas include CMS, Content Management, REST API, PHP, and Open Source.
Endpoint
References
- Documentation https://docs.silverstripe.org/en/6/optional_features/graphql/
- Working with DataObjects https://docs.silverstripe.org/en/6/optional_features/graphql/working_with_dataobjects/