HubSpot · JSON Structure

Blog Posts Api Restore Previous Version Request Structure

Request to restore a previous version

Type: object Properties: 2 Required: 2
AnalyticsCommerceContentCRMCustomer ServiceEmail MarketingMarketingMarketing AutomationOperationsSales

RestorePreviousVersionRequest is a JSON Structure definition published by HubSpot, describing 2 properties, of which 2 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

id revisionId

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/hubspot/refs/heads/main/json-structure/blog-posts-api-restore-previous-version-request-structure.json",
  "name": "RestorePreviousVersionRequest",
  "description": "Request to restore a previous version",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "ID of the blog post",
      "example": "500123"
    },
    "revisionId": {
      "type": "string",
      "description": "ID of the revision to restore",
      "example": "500123"
    }
  },
  "required": [
    "id",
    "revisionId"
  ]
}