BlogPostRevisionsByObjectIdOrRevisionId: HubSpot Blog Post Revisions by Object ID and Revision ID
read only REST
- Catalog:
Posts - Schema:
Revisions - Label: Blog Post Revisions by Object ID and Revision ID
Retrieve a previous version of a blog post Retrieve a previous version of a blog post.
Can only retrieve data.
API Source
- Endpoint:
/cms/v3/blogs/posts/{objectId}/revisions/{revisionId} - Operation:
get /cms/v3/blogs/posts/{objectId}/revisions/{revisionId}
Parameters
| Name | Data Type | Required | Default | Documentation |
|---|---|---|---|---|
object |
`` | The blog post ID | ||
revision |
`` | The ID of the revision to retrieve |
Table Columns
The columns of the table BlogPostRevisionsByObjectIdOrRevisionId are shown below. Each column has an SQL data type. A new non-null value must be provided for every required column at all times during insert and update.
| Name | Data Type | Label | Required | Marks | Documentation |
|---|---|---|---|---|---|
id |
varchar2 |
ID | |||
object_ |
varchar2 |
Object A/B Status | The status of the AB test associated with this blog post, if applicable Available options: automated_loser_variant, automated_master, automated_variant, loser_variant, mab_master, mab_variant, master, variant | ||
object_ |
varchar2 |
Object A/B Test ID | The ID of the AB test associated with this page, if applicable | ||
object_ |
int64 |
itgen_hubspot_object_archivedat | The timestamp (ISO8601 format) when this Blog Post was deleted. | ||
object_ |
char |
Object Archived in Dashboard | If True, the post will not show up in your dashboard, although the post could still be live. | ||
object_ |
varchar2 |
Object Author Name | The name of the user that updated this Blog Post. | ||
object_ |
varchar2 |
Object Blog Author ID | The ID of the Blog Author associated with this Blog Post. | ||
object_ |
varchar2 |
Object Campaign | The GUID of the marketing campaign this Blog Post is a part of. | ||
object_ |
int32 |
Object Category ID | ID of the type of object this is. Should always . | ||
object_ |
varchar2 |
Object Content Group ID | The ID of the parent Blog this Blog Post is associated with. | ||
object_ |
varchar2 |
Object Content Type Category | An ENUM descibing the type of this object. Should always be BLOG_POST. | ||
object_ |
datetime |
Object Created at | The timestamp (ISO8601 format) when this Blog Post was created. | ||
object_ |
varchar2 |
Object Created by ID | The ID of the user that created this Blog Post. | ||
object_ |
char |
Object Currently Published | Whether the post is published (true or false) | ||
object_ |
varchar2 |
Object Current State | A generated ENUM descibing the current state of this Blog Post. Should always match state. | ||
object_ |
varchar2 |
Object Domain | The domain this Blog Post will resolve to. If null, the Blog Post will default to the domain of the ParentBlog. | ||
object_ |
varchar2 |
Object Dynamic Page Data Source ID | The identifier for the data source used by the dynamic page. | ||
object_ |
int32 |
Object Dynamic Page Data Source Type | The type of data source used by the dynamic page. | ||
object_ |
varchar2 |
itgen_hubspot_object_dynamicpagehubdbtableid | The ID of the HubDB table this Blog Post references, if applicable | ||
object_ |
char |
Object Enable Domain Stylesheet | Boolean to determine whether or not the styles from the template should be applied. | ||
object_ |
char |
Object Enable Google AMP Output Override | Boolean to allow overriding the AMP settings for the blog. | ||
object_ |
char |
Object Enable Layout Stylesheets | Boolean to determine whether or not the styles from the template should be applied. | ||
object_ |
varchar2 |
Object Featured Image | The featuredImage of this Blog Post. | ||
object_ |
varchar2 |
Object Featured Image Alternate Text | Alt Text of the featuredImage. | ||
object_ |
varchar2 |
Object Folder ID | Unique identifier of associated folder | ||
object_ |
varchar2 |
Object Footer (HTML) | Custom HTML for embed codes, javascript that should be placed before the tag of the page. | ||
object_ |
varchar2 |
Object Head (HTML) | Custom HTML for embed codes, javascript, etc. that goes in the tag of the page. | ||
object_ |
varchar2 |
Object Title (HTML) | The html title of this Blog Post. | ||
object_ |
varchar2 |
Object ID | The unique ID of the Blog Post. | ||
object_ |
char |
Object Include Default Custom CSS | Boolean to determine whether or not the Primary CSS Files should be applied. | ||
object_ |
varchar2 |
Object 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. | ||
object_ |
varchar2 |
Object Layout Sections | A structure detailing the layout sections of the blog post. | ||
object_ |
varchar2 |
Object Link Rel Canonical (URL) | Optional override to set the URL to be used in the rel=canonical link tag on the page. | ||
object_ |
varchar2 |
Object MAB Experiment ID | Unique identifier of the MAB Experiment | ||
object_ |
varchar2 |
Object Meta Description | A description that goes in tag on the page. | ||
object_ |
varchar2 |
Object Name | The internal name of the Blog Post. | ||
object_ |
int64 |
Object Page Expiry Date | The date at which this blog post should expire and begin redirecting to another url or page. | ||
object_ |
char |
Object Page Expiry Enabled | Boolean describing if the page expiration feature is enabled for this blog post. | ||
object_ |
int64 |
Object 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. | ||
object_ |
varchar2 |
Object Page Expiry Redirect URL | The URL this blog post's url should redirect to once it expires. Should only set this or pageExpiryRedirectId. | ||
object_ |
varchar2 |
Object Password | Set this to create a password protected page. Entering the password will be required to view the page. | ||
object_ |
varchar2 |
Object Post Body | The HTML of the main post body. | ||
object_ |
varchar2 |
Object Post Summary | The summary of the blog post that will appear on the main listing page. | ||
object_ |
char |
Object Public Access Rules Enabled | Boolean to determine whether or not to respect publicAccessRules. | ||
object_ |
datetime |
Object Publish Date | The date (ISO8601 format) the blog post is to be published at. | ||
object_ |
char |
Object 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. | ||
object_ |
varchar2 |
Object RSS Body | The contents of the RSS body for this Blog Post. | ||
object_ |
varchar2 |
Object RSS Summary | The contents of the RSS summary for this Blog Post. | ||
object_ |
varchar2 |
Object Slug | The path of the this blog post. This field is appended to the domain to construct the url of this post. | ||
object_ |
varchar2 |
Object State | An ENUM descibing the current state of this Blog Post. | ||
object_ |
varchar2 |
Object Tag IDs | List of IDs for the tags associated with this Blog Post. | ||
object_ |
varchar2 |
Object Theme Setting Values | A collection of settings specific to the theme applied to the blog post. | ||
object_ |
varchar2 |
Object Translated from ID | ID of the primary blog post this object was translated from. | ||
object_ |
varchar2 |
Object Translations | A map of translations for the blog post, each associated with a specific language variation. | ||
object_ |
datetime |
Object Updated at | The timestamp (ISO8601 format) when this Blog Post was updated. | ||
object_ |
varchar2 |
Object Updated by ID | The ID of the user that updated this Blog Post. | ||
object_ |
varchar2 |
Object URL | A generated field representing the URL of this blog post. | ||
object_ |
char |
Object Use Featured Image | Boolean to determine if this post should use a featuredImage. | ||
object_ |
varchar2 |
Object 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. | ||
object_ |
varchar2 |
Object Widgets | A data structure containing the data for all the modules for this page. | ||
updated |
datetime |
Updated at | |||
user_ |
varchar2 |
User Email | The email address of the user. | ||
user_ |
varchar2 |
User Full Name | The first and last name of the User. | ||
user_ |
varchar2 |
User ID | The unique ID of the User. |
Release Notes
What changed per release in the tables, columns, attributes and capabilities of the driver: