{ "opencollection": "1.0.0", "info": { "name": "HubSpot Analytics Events Access Tokens File Validation API", "version": "3.0.0" }, "items": [ { "info": { "name": "File Validation", "type": "folder" }, "items": [ { "info": { "name": "Hubspot Validate a Source Code File", "type": "http" }, "http": { "method": "POST", "url": "https://api.hubapi.com/cms/v3/source-code/:environment/validate/: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": "Validates the source code file at the specified path for syntax errors, \nHubL compatibility, and other issues. Returns validation results without modifying the file.\n" } ] } ], "bundled": true }