The Preset Object
Properties
-
id
numberNumeric ID of your preset
-
name
stringGiven name of your preset
-
preset
objectfields of the component filled with content
-
component_id
numberID of the component the preset should be connected
-
image
string or nullScreenshot or other preview image for your editor; Default: null
-
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
)
Example Object
{
"preset": {
"id": 1814,
"name": "Teaser with filled headline",
"preset": {
// fields of the component filled with content
"headline": "This is a default value for the preset!",
...
},
"component_id": 62,
"space_id": 606,
"image": "//a.storyblok.com/f/606/...",
"created_at": "2018-11-10T15:33:16.726Z",
"updated_at": "2018-11-10T15:33:16.726Z"
}
}