Create, Update, and Delete Content
We are actively working to improve this documentation. The content you see here may be incomplete, subject to change, or may not fully reflect the current state of the feature. We appreciate your understanding as we continue to enhance our docs.
Content mutations enable full programmatic content lifecycle management through the GCA, allowing you to create, update, and delete content items via GraphQL operations. By configuring content types as mutable (via mutableEntryClass) and specifying allowed operations (via WriteOperationType), you can expose create, update, and delete mutations that respect Brightspot's workflow, permissions, and validation rules.
Mutations handle complex scenarios including uploading and managing images and files (StorageItem fields), setting references to other content items, saving embedded objects, and executing operations within transactions to ensure data consistency. The mutation input shapes mirror your Java content type structure, and responses return the same content model types used by Get and Query operations, providing immediate feedback on the created or updated content state.