Skip to content

The Space Object

The space object provides information such as the space ID, the space name, the list of languages available and configured in the space, the cache version parameter, and the domain related to the space.

  • id number

    Space ID

  • name string

    Space name

  • domain string

    Domain associated with the space (configured under Visual Editor > Location)

  • version string

    Cached version Unix timestamp (see Cache Invalidation)

  • language_codes array

    Array of language codes configured in the space

Example Object
{
"space": {
"id": 123456,
"name": "Storyblok",
"domain": "https://www.storyblok.com/",
"version": 1544117388,
"language_codes": ["de", "es"]
}
}