Pages model

The pages functionality allows creating CMS style pages.

ActionMethodResourceDescription
Get pagesGET/pagesGell all pages of the project
Get pageGET/pages/page_idGet page with id page_id
Create pagesPOST/pagesCreate New page
Update pagePUT/pages/page_idUpdate page with id page_id
Delete pageDELETE/pages/page_idDelete page with id page_id

The pages model has the following attributes:

attributetyperequired
namestringno, required to create.
slugstringno, required to create.
bodytextno, required to create.
enabledbooleanno
typeintegerno
publicbooleanno

Pages Types

NameValueDescription
Full Page1A page with is a full page to show as another template.
Block page2A part of a page to show inside of a template.