Uxopian Software documentation is now centralized on a single site. Find the up-to-date documentation for our products on doc.uxopian.com.

Retrieve page content

Recover the HTML code of your pages

The PageService service lets you perform showPublicPage and showPrivatePage operations on your scope’s pages.

  • showPublicPage retrieves the HTML content of a public page.

  • showPrivatePage retrieves the HTML content of a private page.

Examples

The following examples show how to retrieve a public or private page from your scope.


# <CORE_HOST>  FlowerDocs Core base URL
# <TOKEN>      authentication token
# <SCOPE>      the FlowerDocs scope
# <PATH>       the page to retrieve

curl -X GET "<CORE_HOST>/public/<SCOPE>/pages/<PATH>" \
  -H "token: <TOKEN>"

# <CORE_HOST>  FlowerDocs Core base URL
# <TOKEN>      authentication token
# <SCOPE>      the FlowerDocs scope
# <PATH>       the page to retrieve

curl -X GET "<CORE_HOST>/private/<SCOPE>/pages/<PATH>" \
  -H "token: <TOKEN>"