Zum Hauptinhalt springen
GET
/
cms
/
v3
/
pages
/
site-pages
/
{objectId}
/
revisions
/
{revisionId}
サイトページの前のバージョンを取得
curl --request GET \
  --url https://api.hubapi.com/cms/v3/pages/site-pages/{objectId}/revisions/{revisionId} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "user": {
    "fullName": "<string>",
    "id": "<string>",
    "email": "<string>"
  },
  "object": {
    "publishDate": "2023-11-07T05:31:56Z",
    "language": "af",
    "enableLayoutStylesheets": true,
    "metaDescription": "<string>",
    "attachedStylesheets": [
      {}
    ],
    "password": "<string>",
    "publishImmediately": true,
    "htmlTitle": "<string>",
    "translations": {},
    "id": "<string>",
    "state": "<string>",
    "slug": "<string>",
    "createdById": "<string>",
    "currentlyPublished": true,
    "archivedInDashboard": true,
    "created": "2023-11-07T05:31:56Z",
    "contentTypeCategory": "0",
    "mabExperimentId": "<string>",
    "updatedById": "<string>",
    "translatedFromId": "<string>",
    "folderId": "<string>",
    "widgetContainers": {},
    "pageExpiryRedirectId": 123,
    "dynamicPageDataSourceType": 123,
    "featuredImage": "<string>",
    "authorName": "<string>",
    "domain": "<string>",
    "name": "<string>",
    "dynamicPageHubDbTableId": "<string>",
    "campaign": "<string>",
    "dynamicPageDataSourceId": "<string>",
    "enableDomainStylesheets": true,
    "includeDefaultCustomCss": true,
    "subcategory": "<string>",
    "layoutSections": {},
    "updated": "2023-11-07T05:31:56Z",
    "footerHtml": "<string>",
    "widgets": {},
    "headHtml": "<string>",
    "pageExpiryRedirectUrl": "<string>",
    "abStatus": "master",
    "useFeaturedImage": true,
    "abTestId": "<string>",
    "featuredImageAltText": "<string>",
    "contentGroupId": "<string>",
    "pageExpiryEnabled": true,
    "templatePath": "<string>",
    "url": "<string>",
    "publicAccessRules": [
      {}
    ],
    "archivedAt": "2023-11-07T05:31:56Z",
    "themeSettingsValues": {},
    "pageExpiryDate": 123,
    "publicAccessRulesEnabled": true,
    "pageRedirected": true,
    "currentState": "AUTOMATED",
    "categoryId": 123,
    "linkRelCanonicalUrl": "<string>"
  },
  "updatedAt": "2023-11-07T05:31:56Z"
}
次のいずれかの製品またはそれ以上が必要です。
Marketing HubMarketing Hub -無料ツール
Sales HubSales Hub -無料ツール
Service HubService Hub -無料ツール
Content HubContent Hub -無料ツール
この API には、次のいずれかのスコープが必要です。
content

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

objectId
string
required

サイトページID。

revisionId
string
required

サイト ページ バージョンのID。

Response

successful operation

Model definition for a landing page or site page version. Contains metadata describing the version of the page. It can be used to view edit history of a page.

id
string
required

このページバージョンのID。

user
object
required

Model definition for a version user. Contains addition information about the user who created a version.

object
object
required

Model definition for a landing page or site page.

updatedAt
string<date-time>
required
I