{ "opencollection": "1.0.0", "info": { "name": "PostHog actions js-snippet API", "version": "1.0.0" }, "items": [ { "info": { "name": "js-snippet", "type": "folder" }, "items": [ { "info": { "name": "js_snippet_resolve_retrieve", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/api/projects/:project_id/js-snippet/resolve/", "params": [ { "name": "project_id", "value": "", "type": "path", "description": "Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/." } ] }, "docs": "Preview what a given pin would resolve to, without saving it." }, { "info": { "name": "js_snippet_version_retrieve", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/api/projects/:project_id/js-snippet/version/", "params": [ { "name": "project_id", "value": "", "type": "path", "description": "Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/." } ] }, "docs": "Return the team's current version pin and resolved version." }, { "info": { "name": "js_snippet_version_partial_update", "type": "http" }, "http": { "method": "PATCH", "url": "{{baseUrl}}/api/projects/:project_id/js-snippet/version/", "params": [ { "name": "project_id", "value": "", "type": "path", "description": "Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update the team's version pin." } ] } ], "bundled": true }