v1

latestOpenAPI 3.1.02026-07-2683111282.3 KB
Content Page Operations

Create or update a page in a specific project and channel

Create or update a page in a specific project and channel

put/project/{project_id}/channel/{channel_id}/page/{relative_page_path}

Path parameters

project_idstring required

specifies the project content is added to

channel_idstring required

specifies the channel this page is associated with

relative_page_pathstring required

Relative path of page. It is appended to the content root path of the given channel. Folders appearing in this path need to preexist

Headers

X-Resource-Versionstring

Resource's version, as obtained when GETting the resource. The first time a resource is created, a empty value is expected (omit the header). Must be used in any subsequent update requests of this resource

Request body

namestring required

identifying name of this page. Only valid characters are lowercase alphanumeric, dot, dash and underscore. This value appears in URLs

displayNamestring required

name of this page. Used in labels in the CMS UI and in Delivery API. The displayName can only be set if either is true:a. the page is new, b. the page only exists in the project specified in this operation

localestring

page locale

layoutstring required

the page template

Response

OK

namestring required

identifying name of this page. Only valid characters are lowercase alphanumeric, dot, dash and underscore. This value appears in URLs

displayNamestring required

name of this page. Used in labels in the CMS UI and in Delivery API. The displayName can only be set if either is true:a. the page is new, b. the page only exists in the project specified in this operation

localestring

page locale

layoutstring required

the page template