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"
    }
  ]
}
Produtos suportados
Requer um dos seguintes produtos ou superior.
Marketing HubMarketing HubProfessional
Sales HubSales HubGrátis
Service HubService HubGrátis
Content HubContent HubStarter

Escopos Necessários

Esta API requer um dos seguintes escopos:
  • 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.

total
integer
required

Total number of blog versions.

results
object[]
required

Collection of blog versions.

paging
object

Model definition for paging.