Spaces
Retrieve Current Space
Retrieve information about the current Storyblok space including cache version, domain, and language configuration.
get/v2/cdn/spaces/me
Request
- Base URLhttps://api.storyblok.com
- AuthAPI key in query parameter token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
version'draft' | 'published'
Example:published
The content version to retrieve: draft or published. Default is published. Retrieving draft requires a preview access token.
tokenstring required
Example:ask9soUkv02QqbZgmZdeDAtt
A preview or public access token configured in a space.
Response
Space returned
Example response
{
"space": {
"id": 123,
"name": "Storyblok",
"domain": "https://www.storyblok.com/",
"version": 1544117388,
"language_codes": [
"de"
]
}
}Changes
No recorded changes to this operation across all 2 revisions of this API.