Must be exactly "item_type"
.
Name of the model
"Blog post"
API key of the model
"post"
The way the model collection should be presented to the editors
"compact"
Compact view
Tabular view
Whether the model is single-instance or not
Whether we require all the project locales to be present for each localized field or not
Whether editors can sort records via drag & drop or not
Whether this model is a modular content block or not
Whether draft/published mode is active or not
Whether editors can organize records in a tree or not
If an ordering field is set, this fields specify the sorting direction
Ascending order
Descending order
Specifies the model's sorting method. Cannot be set in concurrency with ordering_field
"created_at"
Order by date of creation
Order by date of last update
Order by date of first publication
Order by date of last publication
A hint shown to editors to help them understand the purpose of this model/block
"Blog posts will be shown in our website under the Blog section"
Whether inverse relationships fields are expressed in GraphQL or not
If this model is single-instance, this tells the single-instance record has already been created or not
The field upon which the collection is sorted
The field to use as display title
The field to use as preview image
The field to use as fallback description for SEO purposes
The workflow to enforce on records
The way the model collection should be presented to the editors
This field contains a typo and will be removed in future versions: use collection_appearance
instead
"compact"
Compact view
Tabular view
Returns a Job ID. You can then poll for the completion of the job that will eventually return a resource object of type item_type
The response contains the ID of the asynchronous job that started:
To get the asynchronous job result, poll the job result endpoint. While the task is in progress, the endpoint returns a 404
status code. When the job completes, the status changes to 200 OK
: