Create a page​
POST
/pages
Authorizations​
bearerToken|siteContext +
bearerToken
Personal access token tied to a user account. Requires the X-Nimbu-Site header to scope requests.
TypeHTTP (bearer)
siteContext
Identifier of the site context when authenticating with a personal access token.
TypeAPI Key (header: X-Nimbu-Site)
or
siteToken
Site-scoped API token that already encodes the site context.
TypeHTTP (bearer)
Request Body​
application/json
JSON
{
"title": "string",
"slug": "string",
"homepage": true,
"published": true,
"template": "string",
"channel": "string",
"parent": "string",
"filter": "string",
"seo_title": "string",
"seo_description": "string",
"seo_keywords": "string",
"locales": [
"string"
],
"fixed_locale": "string",
"position": 0,
"security_mechanism": "string",
"security_password": "string",
"security_access_groups": [
"string"
],
"caching_strategy": "string",
"items": {
"additionalProperties": "string"
},
"additionalProperties": "string"
}
Responses​
page created
application/json
JSON
{
"id": "string",
"url": "string",
"created_at": "string",
"updated_at": "string",
"published": true,
"homepage": true,
"template": "string",
"channel": "string",
"filter": "string",
"depth": 0,
"security_mechanism": "string",
"locales": [
"string"
],
"fixed_locale": "string",
"position": 0,
"og_image": {
"filename": "string",
"url": "string",
"content_type": "string",
"permanent_url": "string",
"permanent_relative_url": "string",
"permanent_backend_url": "string",
"version": "string",
"checksum": "string",
"size": 0,
"width": 0,
"height": 0,
"additionalProperties": "string"
},
"parent": "string",
"parent_path": "string",
"public_url": "string",
"slug": "string",
"fullpath": "string",
"title": "string",
"seo_title": "string",
"seo_description": "string",
"seo_keywords": "string",
"items": {
"additionalProperties": {
}
},
"translations": {
"additionalProperties": {
}
},
"additionalProperties": "string"
}