Legacy
English
cURL
curl --request GET \ --url https://api.hubapi.com/content/api/v2/layouts/{layoutId}/versions/{versionId}
{ "id": 123, "object": { "id": "<string>", "label": "<string>", "path": "<string>", "category_id": "<string>", "created": 123, "updated": 123, "deleted_at": 123, "body_class": "<string>", "body_css_id": "<string>", "layout_data": {}, "custom_head": "<string>", "include_default_custom_css": true, "enable_domain_stylesheet": true, "attached_stylesheets": [ "<string>" ] }, "updated_at": 123, "user": { "email": "<string>", "full_name": "<string>", "id": 123, "username": "<string>" } }
Get a specific previous version of a layout by layout ID and version ID.
The ID of the layout
The ID of the version to retrieve
Successful response
The response is of type object.
object
Was this page helpful?