Model definition for a Blog Post.

Constructors

Properties

abTestId: string
archivedAt: number

The timestamp (ISO8601 format) when this Blog Post was deleted.

archivedInDashboard: boolean

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

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

List of stylesheets to attach to this blog post. 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 blog author associated with the post.

blogAuthorId: string

The ID of the blog author associated with this post.

campaign: string

The GUID of the marketing campaign the post is associated with.

categoryId: number

ID of the object type.

contentGroupId: string

The ID of the post's parent blog.

contentTypeCategory: BlogPostContentTypeCategoryEnum

An ENUM descibing the type of this object. Should always be BLOG_POST.

created: Date
createdById: string

The ID of the user that created the post.

currentlyPublished: boolean

A generated ENUM descibing the current state of this Blog Post. Should always match state.

domain: string

The domain that the post lives on. If null, the post will default to the domain of the parent blog.

dynamicPageDataSourceId: string
dynamicPageDataSourceType: number
dynamicPageHubDbTableId: string

For dynamic HubDB pages, the ID of the HubDB table this post references.

enableDomainStylesheets: boolean

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

enableGoogleAmpOutputOverride: boolean

Boolean to allow overriding the AMP settings for the blog.

enableLayoutStylesheets: boolean

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

featuredImage: string

The featuredImage of this Blog Post.

featuredImageAltText: string

Alt Text of the featuredImage.

folderId: string
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 the post.

id: string

The unique ID of the blog post.

includeDefaultCustomCss: boolean

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

The explicitly defined ISO 639 language code of the post. If null, the post will default to the language of the parent blog.

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
metaDescription: string

A description that goes in tag on the page.

name: string

The internal name of the post.

pageExpiryDate: number
pageExpiryEnabled: boolean
pageExpiryRedirectId: number
pageExpiryRedirectUrl: string
password: string

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

postBody: string

The HTML of the main post body.

postSummary: string

The summary of the blog post that will appear on the main listing 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 blog post 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.

rssBody: string

The contents of the RSS body for this Blog Post.

rssSummary: string

The contents of the RSS summary for this Blog Post.

slug: string

The URL slug of the blog post. This field is appended to the domain to construct the url of this post.

state: string

An enumeration describing the current publish state of the post.

tagIds: number[]

The IDs of the tags associated with this post.

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

ID of the primary blog post that this post was translated from.

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

The ID of the user that updated the post.

url: string

A generated field representing the URL of this blog post.

useFeaturedImage: boolean

Boolean to determine if this post should use a featured image.

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

A data structure containing the data for all the modules inside the containers for this post. 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
mapping: undefined | {
    [index: string]: string;
} = undefined

Methods

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