Get Space
contentful.get_space
ActionBusiness appsconnection required
Calls the Contentful API with the connection's credentials.
Read one space by id, or the connection's space when none is given.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- Bearer token
- Providers
- Contentful
- Secret shape
- the CMA access token, or {"access_token": "…"}
- Config it needs
- space_id, environment_id, base_url
- Resolved by
- config.connection_id, else node.connection_id
Configuration
1 field, none required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
space_id The space to act on. Leave blank to use the connection's space. | string | No | — | — | — |
Output
One shape.
result
| Field | Type | Example |
|---|---|---|
sys.id The space id. | string | — |
sys.version The space's version. | number | — |
name The space's name. | string | — |
{
"name": "",
"sys": {
"id": "",
"version": 0
}
}See Get Space run in a workflow.
In a technical demo we add the Contentful connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.