The PageService service lets you perform showPublicPage and showPrivatePage operations on your scope’s pages.
showPublicPageretrieves the HTML content of a public page.showPrivatePageretrieves the HTML content of a private page.
Examples
The following examples show how to retrieve a public or private page from your scope.
GET {{core}}/rest/public/{scope}/pages/{path} HTTP/1.1
-- URL parameters --
core: FlowerDocs Core host
scope: the FlowerDocs scope
path: the page to retrieve
-- Headers --
token: {{token}}
Content-Type: application/json
GET {{core}}/rest/private/{scope}/pages/{path} HTTP/1.1
-- URL parameters --
core: FlowerDocs Core host
scope: the FlowerDocs scope
path: the page to retrieve
-- Headers --
token: {{token}}
Content-Type: application/json