Publish a workflow
Checks the draft (its shape, every step reachable, both branches of each condition and event wait, no loop, waits within limits.toml [workflows] max_run_age, templates published and passing the content scan, segments, topics, properties and rules of this project, webhook URLs the executor's egress guard calls: public https hosts) and stores it as the next immutable version; the workflow is active on it. Runs under way keep their version. Audited `workflow.publish`.
Checks the draft (its shape, every step reachable, both branches of each condition and event wait, no loop, waits within limits.toml [workflows] max_run_age, templates published and passing the content scan, segments, topics, properties and rules of this project, webhook URLs the executor's egress guard calls: public https hosts) and stores it as the next immutable version; the workflow is active on it. Runs under way keep their version. Audited workflow.publish.
bearerAuthorizationBearer <token>id*stringuuidSuccess
application/json- response
A published version: immutable.
definition*object*stringpublished_at*stringversion*integerint32workflow_id*stringuuidcurl -X POST 'https://api.exx.sh/workflows/497f6eca-6276-4993-bfeb-53cbbbba6f08/publish'{ "definition": {}, "object": "string", "published_at": "string", "version": 0, "workflow_id": "03e70e31-d7a4-4401-a629-6a4b6096cdfe"}