Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

876 B
Raw Blame
{
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "properties": {
        "expected_current_version_id": {
            "anyOf": [
                {
                    "type": "string"
                },
                {
                    "type": "null"
                }
            ],
            "description": "Current source version observed before requesting the promote (null when the canvas has never been published). A moved head is rejected with 409 version_conflict."
        },
        "id": {
            "description": "ID of the canvas whose draft to promote.",
            "type": "string"
        },
        "version_id": {
            "description": "Id of the draft source version to make live.",
            "type": "string"
        }
    },
    "required": ["id", "version_id", "expected_current_version_id"],
    "type": "object"
}