Brightspot CMS Developer Guide
Brightspot CMS Developer Guide
Developer guide
GraphQL API
Content Management API

Hello Content Management API


Overview of the Content Management API
The GraphQL plugin includes a configurable Content Management API endpoint type. Without any additional development work, endpoints can be created in order to expose APIs to create, read, update, and delete existing Dari records. The high level of configurability allows for quick and simple proof of concept tests.

Configuring the Content Management API

  1. Log in to Brightspot and open the hamburger menu.
  2. Under the Admin cluster, select the APIs option.
  3. Create a new GraphQL Management API:
  • Name—Used to differentiate API endpoints in the GraphQL CMS tool. It is also used to generate a default path for the API endpoint.
  • Path—Appended to /graphql/management/ to create the path where the API endpoint is available.
  • Full Path (Read Only)—Displays full path after applying logic for Path field.
  • Read Types—Dari record types used to generate the schema and expose query APIs.
  • Read/Write Types—Dari record types used to generate the schema and expose mutation APIs.
  • Default Query Limit—Default limit applied to all Dari record queries for the API endpoint. This value can be overridden via a limit argument on any query field.
  • Max Query Limit—Max limit of items returned from any Dari record query for the API endpoint. This limit is respected even with an overridden default limit via the limit argument on any query field.
  • CORS Configuration—Configuration of allowed origins and headers for the API endpoint (see Cross-Origin Resource Sharing).
  • Persisted Query Protocol—Option to select a specific persisted query protocol implementation for the API endpoint (see Understanding persisted queries).
  • Schema Locale—Locale used during GraphQL schema documentation generation.
  • Paths (Read Only)—All the paths the API endpoint is available at.
  • Clients (Read Only)—API clients that have access to the API endpoint.

Click Save in order to expose the endpoint.

Previous Topic
Sites permissions
Next Topic
Creating and updating records in Brightspot Content Management API
Was this topic helpful?
Thanks for your feedback.
Our robust, flexible Design System provides hundreds of pre-built components you can use to build the presentation layer of your dreams.

Asset types
Module types
Page types
Brightspot is packaged with content types that get you up and running in a matter of days, including assets, modules and landing pages.

Content types
Modules
Landing pages
Everything you need to know when creating, managing, and administering content within Brightspot CMS.

Dashboards
Publishing
Workflows
Admin configurations
A guide for installing, supporting, extending, modifying and administering code on the Brightspot platform.

Field types
Content modeling
Rich-text elements
Images
A guide to configuring Brightspot's library of integrations, including pre-built options and developer-configured extensions.

Google Analytics
Shopify
Apple News