GET
/
cms
/
v3
/
pages
/
landing-pages
/
folders
/
{objectId}
/
revisions
Recupera todas las versiones anteriores de una carpeta
curl --request GET \
  --url https://api.hubapi.com/cms/v3/pages/landing-pages/folders/{objectId}/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": {
        "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 HubGratuito
Sales HubSales HubGratuito
Service HubService HubGratuito
Content HubContent HubGratuito

Á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

objectId
string
required

El id de la carpeta.

Query Parameters

after
string

El valor del token del cursor para obtener el siguiente conjunto de resultados. Se puede obtener de la propiedad JSON paging.next.after de una respuesta paginada que contenga más resultados.

before
string
limit
integer

El número máximo de resultados que se devolverán. La opción predeterminada es 100.

Response

successful operation

Response object for collections of content folder versions with pagination information.