Skip to main content

Website pages

The Pages array in a website document contains page objects. It is a flat array: child pages refer to a parent by ParentId rather than being nested inside the parent page.

[
{
"Id": 101,
"UserSiteId": 100,
"Name": "Home",
"IsHome": true,
"IsRef": false,
"IsHidden": false,
"IsNonClick": false,
"ParentId": 0,
"Order": 0,
"Path": null,
"Content": []
},
{
"Id": 102,
"UserSiteId": 100,
"Name": "About",
"IsHome": false,
"IsRef": false,
"IsHidden": false,
"IsNonClick": false,
"ParentId": 101,
"Order": 0,
"Path": null,
"Content": []
}
]

In this example, About is a child of Home because its ParentId matches the other page's Id. A ParentId of 0 identifies a root page. The site-map builder orders siblings by Order.

FieldTypeDescription
IdintegerPage identifier.
UserSiteIdintegerIdentifier of the website containing the page.
Namestring or nullPage name.
IsHomebooleanHome-page flag.
IsRefbooleanReference-page flag. Its full meaning is not documented here.
IsHiddenbooleanFlag used for hiding the page from navigation. It does not by itself make a page private.
IsNonClickbooleanFlag for a non-clickable navigation item.
ParentIdintegerParent page ID, or 0 for a root page.
Orderinteger or nullPage ordering value.
Pathstring or nullPage path value. It may be null; do not infer a URL from this field alone.
Contentarray or nullPage's ordered collection of content modules.

The values are examples, not valid identifiers in another website. The model describes these properties; it does not by itself define an API's validation or update rules.