Page repo contains the static pages of the site.

GET
Retrieve static pages by conditions

_cnd[limit]
array 
Sets the offset (first item) and the limit (second item)
_cnd[orderBy]
array 
Sets sorting order field
default Success <XLite\Module\CDev\SimpleCMS\Model\Page>[] array
Sample response
[{"ogMeta":"example","showSocialButtons":true,"id":13,"enabled":false,"image":{"page":"<XLite\\Module\\CDev\\SimpleCMS\\Model\\Page>","s3icons":"anything[] array","needMigration":"boolean","width":"integer","height":"integer","hash":"string","needProcess":"boolean","id":"integer","path":"string","fileName":"string","mime":"string","storageType":"string","size":"integer","date":"integer"},"cleanURLs":[{"page":"<XLite\\Module\\CDev\\SimpleCMS\\Model\\Page>","newsMessage":"<XLite\\Module\\XC\\News\\Model\\NewsMessage>","id":"integer","product":"<XLite\\Model\\Product>","category":"<XLite\\Model\\Category>","cleanURL":"string"}],"metaDescType":"example","position":33}]

GET
Retrieve static page by id

id
integer Required
Id value of the Page object
default Success <XLite\Module\CDev\SimpleCMS\Model\Page>
Sample response
{"ogMeta":"example","showSocialButtons":true,"id":13,"enabled":false,"image":{"page":"<XLite\\Module\\CDev\\SimpleCMS\\Model\\Page>","s3icons":"anything[] array","needMigration":"boolean","width":"integer","height":"integer","hash":"string","needProcess":"boolean","id":"integer","path":"string","fileName":"string","mime":"string","storageType":"string","size":"integer","date":"integer"},"cleanURLs":[{"page":"<XLite\\Module\\CDev\\SimpleCMS\\Model\\Page>","newsMessage":"<XLite\\Module\\XC\\News\\Model\\NewsMessage>","id":"integer","product":"<XLite\\Model\\Product>","category":"<XLite\\Model\\Category>","cleanURL":"string"}],"metaDescType":"example","position":33}
useCustomOG
boolean
User Open graph meta tags generator flag
ogMeta
string
Custom Open graph meta tags
showSocialButtons
boolean
Show Social share buttons or not
id
integer
Unique ID
enabled
boolean
Is menu enabled or not
image
cleanURLs
[] array
Clean URLs
metaDescType
string
Meta description type
position
integer
Tab position

PUT
Update static page by id

id
integer Required
Id value of the Page object
<XLite\Module\CDev\SimpleCMS\Model\Page>
useCustomOG
boolean
User Open graph meta tags generator flag
ogMeta
string
Custom Open graph meta tags
showSocialButtons
boolean
Show Social share buttons or not
id
integer
Unique ID
enabled
boolean
Is menu enabled or not
image
cleanURLs
[] array
Clean URLs
metaDescType
string
Meta description type
position
integer
Tab position
default Success <XLite\Module\CDev\SimpleCMS\Model\Page>
Sample response
{"ogMeta":"example","showSocialButtons":true,"id":13,"enabled":false,"image":{"page":"<XLite\\Module\\CDev\\SimpleCMS\\Model\\Page>","s3icons":"anything[] array","needMigration":"boolean","width":"integer","height":"integer","hash":"string","needProcess":"boolean","id":"integer","path":"string","fileName":"string","mime":"string","storageType":"string","size":"integer","date":"integer"},"cleanURLs":[{"page":"<XLite\\Module\\CDev\\SimpleCMS\\Model\\Page>","newsMessage":"<XLite\\Module\\XC\\News\\Model\\NewsMessage>","id":"integer","product":"<XLite\\Model\\Product>","category":"<XLite\\Model\\Category>","cleanURL":"string"}],"metaDescType":"example","position":33}
useCustomOG
boolean
User Open graph meta tags generator flag
ogMeta
string
Custom Open graph meta tags
showSocialButtons
boolean
Show Social share buttons or not
id
integer
Unique ID
enabled
boolean
Is menu enabled or not
image
cleanURLs
[] array
Clean URLs
metaDescType
string
Meta description type
position
integer
Tab position

DELETE
Delete static page by id

id
integer Required
Id value of the Page object
default Success <XLite\Module\CDev\SimpleCMS\Model\Page>
Sample response
{"ogMeta":"example","showSocialButtons":true,"id":13,"enabled":false,"image":{"page":"<XLite\\Module\\CDev\\SimpleCMS\\Model\\Page>","s3icons":"anything[] array","needMigration":"boolean","width":"integer","height":"integer","hash":"string","needProcess":"boolean","id":"integer","path":"string","fileName":"string","mime":"string","storageType":"string","size":"integer","date":"integer"},"cleanURLs":[{"page":"<XLite\\Module\\CDev\\SimpleCMS\\Model\\Page>","newsMessage":"<XLite\\Module\\XC\\News\\Model\\NewsMessage>","id":"integer","product":"<XLite\\Model\\Product>","category":"<XLite\\Model\\Category>","cleanURL":"string"}],"metaDescType":"example","position":33}
useCustomOG
boolean
User Open graph meta tags generator flag
ogMeta
string
Custom Open graph meta tags
showSocialButtons
boolean
Show Social share buttons or not
id
integer
Unique ID
enabled
boolean
Is menu enabled or not
image
cleanURLs
[] array
Clean URLs
metaDescType
string
Meta description type
position
integer
Tab position

POST
Add static page

<XLite\Module\CDev\SimpleCMS\Model\Page>
useCustomOG
boolean
User Open graph meta tags generator flag
ogMeta
string
Custom Open graph meta tags
showSocialButtons
boolean
Show Social share buttons or not
id
integer
Unique ID
enabled
boolean
Is menu enabled or not
image
cleanURLs
[] array
Clean URLs
metaDescType
string
Meta description type
position
integer
Tab position
default Success <XLite\Module\CDev\SimpleCMS\Model\Page>
Sample response
{"ogMeta":"example","showSocialButtons":true,"id":13,"enabled":false,"image":{"page":"<XLite\\Module\\CDev\\SimpleCMS\\Model\\Page>","s3icons":"anything[] array","needMigration":"boolean","width":"integer","height":"integer","hash":"string","needProcess":"boolean","id":"integer","path":"string","fileName":"string","mime":"string","storageType":"string","size":"integer","date":"integer"},"cleanURLs":[{"page":"<XLite\\Module\\CDev\\SimpleCMS\\Model\\Page>","newsMessage":"<XLite\\Module\\XC\\News\\Model\\NewsMessage>","id":"integer","product":"<XLite\\Model\\Product>","category":"<XLite\\Model\\Category>","cleanURL":"string"}],"metaDescType":"example","position":33}
useCustomOG
boolean
User Open graph meta tags generator flag
ogMeta
string
Custom Open graph meta tags
showSocialButtons
boolean
Show Social share buttons or not
id
integer
Unique ID
enabled
boolean
Is menu enabled or not
image
cleanURLs
[] array
Clean URLs
metaDescType
string
Meta description type
position
integer
Tab position