The Preset Object
This is an object representing a preset of a component inside a Storyblok space.
Properties
-
id
numberNumeric ID of your preset
-
name
stringGiven name of your preset
-
preset
objectFields of the component filled with content
-
component_id
numberThe ID of the component the preset is for
-
space_id
numberNumeric ID of a space
-
created_at
stringCreation date (Format:
yyyy-MM-dd'T'HH:mm:ssZ
) -
updated_at
stringLatest update date (Format:
yyyy-MM-dd'T'HH:mm:ssZ
) -
image
string or nullScreenshot or other preview image for your editor; Default: null
-
color
stringColor of the preset icon
-
icon
stringIcon of the preset
-
description
stringA description of the preset for the editors
{
"preset": {
"id": 1231,
"name": "PresetGrid",
"preset": {
// fields of the component filled with content
"headline": "preset grid creation",
},
"component_id": 1414141,
"space_id": 123123,
"created_at": "2023-08-22T19:31:04.103Z",
"updated_at": "2023-08-22T19:31:04.103Z",
"image": null,
"color": "#00b3b0",
"icon": "block-image",
"description": null
}
}