GET
/
cms
/
v3
/
blog-settings
/
settings
/
{blogId}
/
revisions
/
{revisionId}
Retrieves a previous version of a Blog
curl --request GET \
  --url https://api.hubapi.com/cms/v3/blog-settings/settings/{blogId}/revisions/{revisionId} \
  --header 'Authorization: Bearer <token>'
{
  "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.

revisionId
string
required

The Blog version id.

Response

successful operation

Model definition for a Version Blog. Contains metadata describing the version of the Blog. It can be used to view edit history of the settings.

id
string
required

The id of the version.

user
object
required

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

object
object
required
updatedAt
string<date-time>
required