Model definition for a landing page or site page.

Constructors

Properties

The status of the AB test associated with this page, if applicable

abTestId: string

The ID of the AB test associated with this page, if applicable

archivedAt: Date

The timestamp (ISO8601 format) when this page was deleted.

archivedInDashboard: boolean

If True, the page will not show up in your dashboard, although the page could still be live.

attachedStylesheets: {
    [key: string]: any;
}[]

List of stylesheets to attach to this page. These stylesheets are attached to just this page. Order of precedence is bottom to top, just like in the HTML.

authorName: string

The name of the user that updated this page.

campaign: string

The GUID of the marketing campaign this page is a part of.

categoryId: number

ID of the type of object this is. Should always .

contentGroupId: string
contentTypeCategory: PageContentTypeCategoryEnum

An ENUM descibing the type of this object. Should be either LANDING_PAGE or SITE_PAGE.

created: Date
createdById: string

The ID of the user that created this page.

currentlyPublished: boolean
currentState: PageCurrentStateEnum

A generated ENUM descibing the current state of this page.

domain: string

The domain this page will resolve to. If null, the page will default to the primary domain for this content type.

dynamicPageDataSourceId: string
dynamicPageDataSourceType: number
dynamicPageHubDbTableId: string

The ID of the HubDB table this page references, if applicable

enableDomainStylesheets: boolean

Boolean to determine whether or not the styles from the template should be applied.

enableLayoutStylesheets: boolean

Boolean to determine whether or not the styles from the template should be applied.

featuredImage: string

The featuredImage of this page.

featuredImageAltText: string

Alt Text of the featuredImage.

folderId: string

The ID of the associated folder this landing page is organized under in the app dashboard.

footerHtml: string

Custom HTML for embed codes, javascript that should be placed before the tag of the page.

headHtml: string

Custom HTML for embed codes, javascript, etc. that goes in the tag of the page.

htmlTitle: string

The html title of this page.

id: string

The unique ID of the page.

includeDefaultCustomCss: boolean

Boolean to determine whether or not the Primary CSS Files should be applied.

The explicitly defined ISO 639 language code of the page. If null, the page will default to the language of the Domain.

layoutSections: {
    [key: string]: LayoutSection;
}
linkRelCanonicalUrl: string

Optional override to set the URL to be used in the rel=canonical link tag on the page.

mabExperimentId: string

The ID of the MAB test (or dynamic test) associated with this page, if applicable

metaDescription: string

A description that goes in tag on the page.

name: string

The internal name of the page.

pageExpiryDate: number

The date at which this page should expire and begin redirecting to another url or page.

pageExpiryEnabled: boolean

Boolean describing if the page expiration feature is enabled for this page

pageExpiryRedirectId: number

The ID of another page this page's url should redirect to once this page expires. Should only set this or pageExpiryRedirectUrl.

pageExpiryRedirectUrl: string

The URL this page's url should redirect to once this page expires. Should only set this or pageExpiryRedirectId.

pageRedirected: boolean

A generated Boolean describing whether or not this page is currently expired and being redirected.

password: string

Set this to create a password protected page. Entering the password will be required to view the page.

publicAccessRules: any[]

Rules for require member registration to access private content.

publicAccessRulesEnabled: boolean

Boolean to determine whether or not to respect publicAccessRules.

publishDate: Date

The date (ISO8601 format) the page is to be published at.

publishImmediately: boolean

Set this to true if you want to be published immediately when the schedule publish endpoint is called, and to ignore the publish_date setting.

slug: string

The path of the this page. This field is appended to the domain to construct the url of this page.

state: string

An ENUM descibing the current state of this page.

subcategory: string

Details the type of page this is. Should always be landing_page or site_page

templatePath: string

String detailing the path of the template used for this page.

themeSettingsValues: {
    [key: string]: any;
}
translatedFromId: string

ID of the primary page this object was translated from.

translations: {
    [key: string]: ContentLanguageVariation;
}
updated: Date
updatedById: string

The ID of the user that updated this page.

url: string

A generated field representing the URL of this page.

useFeaturedImage: boolean

Boolean to determine if this page should use a featuredImage.

widgetContainers: {
    [key: string]: any;
}

A data structure containing the data for all the modules inside the containers for this page. This will only be populated if the page has widget containers.

widgets: {
    [key: string]: any;
}

A data structure containing the data for all the modules for this page.

attributeTypeMap: {
    baseName: string;
    format: string;
    name: string;
    type: string;
}[] = ...
discriminator: undefined | string = undefined

Methods

  • Returns {
        baseName: string;
        format: string;
        name: string;
        type: string;
    }[]