Skip to main content
GET
/
cms
/
v3
/
pages
/
landing-pages
/
folders
/
{objectId}
/
revisions
/
{revisionId}
Recupera una versión anterior de una carpeta
curl --request GET \
  --url https://api.hubapi.com/cms/v3/pages/landing-pages/folders/{objectId}/revisions/{revisionId} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "user": {
    "fullName": "<string>",
    "id": "<string>",
    "email": "<string>"
  },
  "object": {
    "deletedAt": "2023-11-07T05:31:56Z",
    "parentFolderId": 123,
    "created": "2023-11-07T05:31:56Z",
    "name": "<string>",
    "id": "<string>",
    "category": 123,
    "updated": "2023-11-07T05:31:56Z"
  },
  "updatedAt": "2023-11-07T05:31:56Z"
}

Productos compatibles

Se requiere uno de los siguientes productos o productos de ediciones superiores.
Marketing HubMarketing Hub -Gratuito
Sales HubSales Hub -Gratuito
Service HubService Hub -Gratuito
Content HubContent Hub -Gratuito
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

objectId
string
required

El id de la carpeta.

revisionId
string
required

El id de la versión de la carpeta.

Response

successful operation

Model definition for a content folder version. Contains metadata describing the version of the folder. It can be used to view edit history of a folder.

id
string
required

ID de esta versión de carpeta.

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 content folder.

updatedAt
string<date-time>
required