Headless CMS
Single Entry Model Builder and Usage
About Single Entry Models, how and where to use them.
WHAT YOU'LL LEARN
- What is a single entry model?
- How to create a single entry model using the Model Builder?
- When to use single entry models in your application?
Overview
This example demonstrates how to create a single entry model and why would you use it or need it.
Settings Model Builder
Usage of the Defined Single Entry Model
The model we created will be used to store the settings of our application, and it will show in the Admin UI.
Since it’s a single entry model, there will be only one entry of this model in the system.
Also, the entry stored via this model is available on both manage and read GraphQL API (completely public).