{
  "opencollection": "1.0.0",
  "info": {
    "name": "HubSpot Analytics Events Access Tokens File Content API",
    "version": "3.0.0"
  },
  "items": [
    {
      "info": {
        "name": "File Content",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Hubspot Download a Source Code File",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.hubapi.com/cms/v3/source-code/:environment/content/:path",
            "params": [
              {
                "name": "environment",
                "value": "draft",
                "type": "path",
                "description": "The target environment for the operation (draft or published)"
              },
              {
                "name": "path",
                "value": "templates/blog/post.html",
                "type": "path",
                "description": "The file system path to the file or folder"
              }
            ]
          },
          "docs": "Downloads the byte contents of a file at the specified path in the specified environment.\nUse 'draft' for unpublished changes or 'published' for live content.\n"
        },
        {
          "info": {
            "name": "Hubspot Create a New Source Code File",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.hubapi.com/cms/v3/source-code/:environment/content/:path",
            "params": [
              {
                "name": "environment",
                "value": "draft",
                "type": "path",
                "description": "The target environment for the operation (draft or published)"
              },
              {
                "name": "path",
                "value": "templates/blog/post.html",
                "type": "path",
                "description": "The file system path to the file or folder"
              }
            ],
            "body": {
              "type": "multipart-form",
              "data": []
            }
          },
          "docs": "Creates a new file at the specified path in the specified environment.\nReturns an error if a file already exists at the path. For upsert behavior, use PUT instead.\n"
        },
        {
          "info": {
            "name": "Hubspot Create or Update a Source Code File",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.hubapi.com/cms/v3/source-code/:environment/content/:path",
            "params": [
              {
                "name": "environment",
                "value": "draft",
                "type": "path",
                "description": "The target environment for the operation (draft or published)"
              },
              {
                "name": "path",
                "value": "templates/blog/post.html",
                "type": "path",
                "description": "The file system path to the file or folder"
              }
            ],
            "body": {
              "type": "multipart-form",
              "data": []
            }
          },
          "docs": "Creates a new file or updates an existing file at the specified path in the specified environment.\nThis upsert operation accepts multipart/form-data content type with the file as the payload.\n"
        },
        {
          "info": {
            "name": "Hubspot Delete a Source Code File",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.hubapi.com/cms/v3/source-code/:environment/content/:path",
            "params": [
              {
                "name": "environment",
                "value": "draft",
                "type": "path",
                "description": "The target environment for the operation (draft or published)"
              },
              {
                "name": "path",
                "value": "templates/blog/post.html",
                "type": "path",
                "description": "The file system path to the file or folder"
              }
            ]
          },
          "docs": "Permanently deletes a file at the specified path in the specified environment.\nThis action cannot be undone.\n"
        }
      ]
    }
  ],
  "bundled": true
}