Please enable JavaScript to view this site.

Made in EU
HubSpot Forums

Navigation: Catalog: Posts > Schemas > Schema: Revisions > Tables

CmsVBlogsPostsByObjectId_ResultsObjectPublicAccessRulesRevisions

Retrieves all previous versions of a postRetrieve all the previous versions of a blog post.

Catalog: Posts

Schema: Revisions

This is a read-only table function. The HubSpot API may not support changing the data or the Invantive UniversalSQL driver for HubSpot does not cover it. In the latter case, please use the table NativePlatformScalarRequests to upload data to the HubSpot API.

Parameters of Table Function

The following parameters can be used to control the behaviour of the table function CmsVBlogsPostsByObjectId_ResultsObjectPublicAccessRulesRevisions. A value must be provided at all times for required parameters, but optional parameters in general do not need to have a value and the execution will default to a pre-defined behaviour. Values can be specified by position and by name. In both cases, all parameters not specified will be evaluated using their default values.

Value specification by position is done by listing all values from the first to the last needed value. For example: a `select * from table(value1, value2, value3)` on a table with four parameters will use the default value for the fourth parameter and the specified values for the first three.

Value specification by name is done by listing all values that require a value. For example with `select * from table(name1 => value1, name3 => value3)` on the same table will use the default values for the second and fourth parameters and the specified values for the first and third.

Name

Data Type

Required

Default Value

Documentation

after

 

 

The paging cursor token of the last successfully read resource will be returned as the `paging.next.after` JSON property of a paged response containing more results.

before

 

 

 

objectId

 

 

The ID of the blog post

 

Columns of Table Function

The columns of the table function CmsVBlogsPostsByObjectId_ResultsObjectPublicAccessRulesRevisions are shown below. Each column has an SQL data type.

Name

Data Type

Label

Required

Documentation

abStatus

varchar2

A/B Status

The status of the AB test associated with this blog post, if applicableAvailable options: automated_loser_variant, automated_master, automated_variant, loser_variant, mab_master, mab_variant, master, variant

abTestId

varchar2

A/B Test ID

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

archivedAt

int64

Archived at

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

archivedInDashboard

char

Archived in Dashboard

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

authorName

varchar2

Author Name

The name of the user that updated this Blog Post.

blogAuthorId

varchar2

Blog Author ID

The ID of the Blog Author associated with this Blog Post.

campaign

varchar2

Campaign

The GUID of the marketing campaign this Blog Post is a part of.

categoryId

int32

Category ID

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

contentGroupId

varchar2

Content Group ID

The ID of the parent Blog this Blog Post is associated with.

contentTypeCategory

varchar2

Content Type Category

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

created

datetime

Created at

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

createdById

varchar2

Created by ID

The ID of the user that created this Blog Post.

currentlyPublished

char

Currently Published

Whether the post is published (true or false)

currentState

varchar2

Current State

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

domain

varchar2

Domain

The domain this Blog Post will resolve to. If null, the Blog Post will default to the domain of the ParentBlog.

dynamicPageDataSourceId

varchar2

Dynamic Page Data Source ID

The identifier for the data source used by the dynamic page.

dynamicPageDataSourceType

int32

Dynamic Page Data Source Type

The type of data source used by the dynamic page.

dynamicPageHubDbTableId

varchar2

 

The ID of the HubDB table this Blog Post references, if applicable

enableDomainStylesheets

char

Enable Domain Stylesheets

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

enableGoogleAmpOutputOverride

char

Enable Google AMP Output Override

Boolean to allow overriding the AMP settings for the blog.

enableLayoutStylesheets

char

Enable Layout Stylesheets

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

featuredImage

varchar2

Featured Image

The featuredImage of this Blog Post.

featuredImageAltText

varchar2

Featured Image Alternate Text

Alt Text of the featuredImage.

folderId

varchar2

Folder ID

Unique identifier of associated folder

footerHtml

varchar2

Footer (HTML)

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

headHtml

varchar2

Head (HTML)

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

htmlTitle

varchar2

Title (HTML)

The html title of this Blog Post.

id_2

varchar2

ID (Alternate 2)

The id of the version.

id

varchar2

ID

The unique ID of the Blog Post.

includeDefaultCustomCss

char

Include Default Custom CSS

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

language

varchar2

Language

The explicitly defined ISO 639 language code of the Blog Post. If null, the Blog Post will default to the language of the ParentBlog.

layoutSections

varchar2

Layout Sections

A structure detailing the layout sections of the blog post.

linkRelCanonicalUrl

varchar2

Link Rel Canonical (URL)

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

mabExperimentId

varchar2

MAB Experiment ID

Unique identifier of the MAB Experiment

metaDescription

varchar2

Meta Description

A description that goes in <meta> tag on the page.

name

varchar2

Name

The internal name of the Blog Post.

pageExpiryDate

int64

Page Expiry Date

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

pageExpiryEnabled

char

Page Expiry Enabled

Boolean describing if the page expiration feature is enabled for this blog post.

pageExpiryRedirectId

int64

Page Expiry Redirect ID

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

pageExpiryRedirectUrl

varchar2

Page Expiry Redirect (URL)

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

password

varchar2

Password

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

postBody

varchar2

Post Body

The HTML of the main post body.

postSummary

varchar2

Post Summary

The summary of the blog post that will appear on the main listing page.

publicAccessRulesEnabled

char

Public Access Rules Enabled

Boolean to determine whether or not to respect publicAccessRules.

publishDate

datetime

Publish Date

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

publishImmediately

char

Publish Immediately

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

varchar2

RSS Body

The contents of the RSS body for this Blog Post.

rssSummary

varchar2

RSS Summary

The contents of the RSS summary for this Blog Post.

slug

varchar2

Slug

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

state

varchar2(25)

State

An ENUM descibing the current state of this Blog Post.

tagIds

varchar2

Tag IDs

List of IDs for the tags associated with this Blog Post.

themeSettingsValues

varchar2

Theme Setting Values

A collection of settings specific to the theme applied to the blog post.

translatedFromId

varchar2

Translated from ID

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

translations

varchar2

Translations

A map of translations for the blog post, each associated with a specific language variation.

updated

datetime

Updated at

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

updatedAt

datetime

Updated at

The timestamp (ISO8601 format) when this version of the Blog Post was updated.

updatedById

varchar2

Updated by ID

The ID of the user that updated this Blog Post.

url

varchar2

URL

A generated field representing the URL of this blog post.

useFeaturedImage

char

Use Featured Image

Boolean to determine if this post should use a featuredImage.

user_email

varchar2

User Email

The email address of the user.

user_fullName

varchar2

User Full Name

The first and last name of the User.

user_id

varchar2

User ID

The unique ID of the User.

widgetContainers

varchar2

Widget Containers

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

varchar2

Widgets

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

 

X

Important Safety and Usage Information

Intended Use and Limitations: This software, developed by Invantive, is designed to support a variety of business and information technology data processing functions, such as accounting, financial reporting an sales reporting. It is important to note that this software is not designed, tested, or approved for use in environments where malfunction or failure could lead to life-threatening situations or severe physical or environmental damage. This includes, but is not limited to:

  • Nuclear facilities: The software should not be used for operations or functions related to the control, maintenance, or operation of nuclear facilities.
  • Defense and Military Applications: This software is not suitable for use in defense-related applications, including but not limited to weaponry control, military strategy planning, or any other aspects of national defense.
  • Aviation: The software is not intended for use in the operation, navigation, or communication systems of any aircraft or air traffic control environments.
  • Healthcare and Medicine Production: This software should not be utilized for medical device operation, patient data analysis for critical health decisions, pharmaceutical production, or medical research where its failure or malfunction could impact patient health.
  • Chemical and Hazardous Material Handling: This software is not intended for the management, control, or operational aspects of chemical plants or hazardous material handling facilities. Any malfunction in software used in these settings could result in dangerous chemical spills, explosions, or environmental disasters.
  • Transportation and Traffic Control Systems: The software should not be used for the control, operation, or management of transportation systems, including railway signal controls, subway systems, or traffic light management. Malfunctions in such critical systems could lead to severe accidents and endanger public safety.
  • Energy Grid and Utility Control Systems: This software is not designed for the control or operation of energy grid systems, including electrical substations, renewable energy control systems, or water utility control systems. The failure of software in these areas could lead to significant power outages, water supply disruptions, or other public utility failures, potentially endangering communities and causing extensive damage.
  • Other High-Risk Environments: Any other critical infrastructure and environments where a failure of the software could result in significant harm to individuals or the environment.

User Responsibility: Users must ensure that they understand the intended use of the software and refrain from deploying it in any setting that falls outside of its designed purpose. It is the responsibility of the user to assess the suitability of the software for their intended application, especially in any scenarios that might pose a risk to life, health, or the environment.

Disclaimer of Liability: Invantive disclaims any responsibility for damage, injury, or legal consequences resulting from the use or misuse of this software in prohibited or unintended applications.

  
Disclaimer