create_preset
Define and save a reusable preset for components in a Storyblok space using the Management API, simplifying content creation and management.
Instructions
Creates a new preset in a Storyblok space via the Management API.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
color | No | ||
component_id | Yes | ||
description | No | ||
icon | No | ||
image | No | ||
name | Yes | ||
preset | Yes |
Input Schema (JSON Schema)
{
"properties": {
"color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Color"
},
"component_id": {
"title": "Component Id",
"type": "integer"
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Description"
},
"icon": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Icon"
},
"image": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Image"
},
"name": {
"title": "Name",
"type": "string"
},
"preset": {
"additionalProperties": true,
"title": "Preset",
"type": "object"
}
},
"required": [
"name",
"component_id",
"preset"
],
"title": "create_presetArguments",
"type": "object"
}