v1

latestOpenAPI 3.1.02026-07-2683111282.3 KB
Content Page Operations

Get a page in a specific project

Get a page in a specific project.

A page in core may be have changes that aren't yet published, these are stored in a separate variant of the page (the 'unpublished' variant). When requesting a page for core, the 'published' variant is retrieved, unless there is none (the page has never been published yet), in which case the unpublished variant is fetched.

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

Path parameters

project_idstring required

specifies the project content is fetched from

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

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