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.
Properties
Section titled “Properties”- 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
{ "space": { "id": 123456, "name": "Storyblok", "domain": "https://www.storyblok.com/", "version": 1544117388, "language_codes": ["de", "es"] }}
Get in touch with the Storyblok community