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"
    }
  ]
}
Productos compatibles
Se requiere uno de los siguientes productos o productos de ediciones superiores.
Marketing HubMarketing HubPro
Sales HubSales HubGratuito
Service HubService HubGratuito
Content HubContent HubStarter

Ámbitos Requeridos

Esta API requiere uno de los siguientes ámbitos:
  • 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.