Pages
Last updated
Was this helpful?
Last updated
Was this helpful?
Covered in this doc:
List all pages within a Site
Name
Type
Description
site_id
string
required ID of the Site
you want to get the pages for
Fetch the Page detail using the Page.id
Name
Type
Description
site_id
integer
required
name
string
required Name of the page. Used in navigation menus and buttons
Optional
column_widths
list
of list
s
Percentage widths of the rows and columns within the Page. Examples: Single column page [[100]]
(default), Two columns within one row [[50, 50]]
, Multiple rows and columns [[100], [50, 50]]
modules
list
List of Page Module objects to publish to the Page with positional details including row
, column
, and order
path
string
Specific path within the Site where you want to publish the page (i.e. /contact-us/
)
title
string
HTML <title>
tag for the Page. Defaults to the name
parameter
clone_id
integer
Page ID of a page you want to duplicate/clone. More info under the Clone/Duplicate example
We have a clone_id
parameter that can be used to easily duplicate/clone an entire page, including all of its modules and content.
This allows for a simple payload without the need to provide all the modules and page fields from the original.
Example:
You can PUT
a partial or full object to the detail endpoint to update/change values on the Page object. If using a partial object, you must insure that the primary page id
is part of the payload.
A status code of 201 created
is returned on a successful creation and contains the created page object as JSON. See the section for an example Page object.