Content Management API
Write content and manage the space with a management token.
Base path: /api/cm/v1/spaces/{space}. Tokens carry scopes such as entries:write. A token restricted to specific environments cannot use space-wide resources (locales writes, webhooks, environments).
GET|POST /spaces/{space}/environments/{env}/content-types
POST /spaces/{space}/environments/{env}/content-types/{id}/activate
GET|POST /spaces/{space}/environments/{env}/entries
PUT /spaces/{space}/environments/{env}/entries/{id} (header X-Rafterbase-Version)
PUT /spaces/{space}/environments/{env}/entries/{id}/publish
PUT /spaces/{space}/environments/{env}/entries/{id}/unpublish
POST /spaces/{space}/environments/{env}/entries/{id}/schedule
POST /spaces/{space}/environments/{env}/assets
POST /spaces/{space}/environments/{env}/import?mode=apply
GET /spaces/{space}/environments/{env}/export
GET|POST /spaces/{space}/locales
GET|POST /spaces/{space}/webhooks
GET|POST /spaces/{space}/environments
POST /spaces/{space}/environments/{env}/promoteSaving an entry needs the version you loaded (X-Rafterbase-Version); a stale version returns 409 with the server fields and a diff. Request bodies may not contain the keys __proto__, constructor or prototype.