GET
/
cms
/
v3
/
blog-settings
/
settings
/
{blogId}
/
revisions
Retrieves all the previous versions of a Blog
curl --request GET \
  --url https://api.hubapi.com/cms/v3/blog-settings/settings/{blogId}/revisions \
  --header 'Authorization: Bearer <token>'
{
  "total": 123,
  "paging": {
    "next": {
      "link": "",
      "after": ""
    },
    "prev": {
      "before": "",
      "link": ""
    }
  },
  "results": [
    {
      "id": "<string>",
      "user": {
        "fullName": "<string>",
        "id": "<string>",
        "email": "<string>"
      },
      "object": {
        "created": "2023-11-07T05:31:56Z",
        "absoluteUrl": "<string>",
        "description": "<string>",
        "language": "af",
        "translatedFromId": "<string>",
        "publicAccessRules": [
          {}
        ],
        "publicTitle": "<string>",
        "allowComments": true,
        "deletedAt": "2023-11-07T05:31:56Z",
        "htmlTitle": "<string>",
        "publicAccessRulesEnabled": true,
        "name": "<string>",
        "id": "<string>",
        "updated": "2023-11-07T05:31:56Z",
        "slug": "<string>"
      },
      "updatedAt": "2023-11-07T05:31:56Z"
    }
  ]
}
Unterstützte Produkte
Erfordert eines der folgenden Produkte oder höher.
Marketing HubMarketing HubProfessional
Sales HubSales HubKostenlos
Service HubService HubKostenlos
Content HubContent HubStarter

Erforderliche Bereiche

Diese API erfordert einen der folgenden Bereiche:
  • content

Authorizations

Authorization
string
header
required

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

Path Parameters

blogId
string
required

The Blog id.

Query Parameters

after
string

The cursor token value to get the next set of results. You can get this from the paging.next.after JSON property of a paged response containing more results.

before
string
limit
integer

The maximum number of results to return. Default is 100.

Response

successful operation

Response object for collections of blog versions with pagination information.