1. The Preset Object

The Preset Object

Properties

  • id

    number

    Numeric ID of your preset

  • name

    string

    Given name of your preset

  • preset

    object

    fields of the component filled with content

  • component_id

    number

    ID of the component the preset should be connected

  • image

    string or null

    Screenshot or other preview image for your editor; Default: null

  • created_at

    string

    Creation date (Format: yyyy-MM-dd'T'HH:mm:ssZ)

  • updated_at

    string

    Latest 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"
  }
}