Check what saving a draft would change
Ask what saving the draft in the body over the stored workflow would do to the workflows, profiles and triggers that use it. Nothing is saved. The editor calls this before every save. A backend without this route answers 404 or 405, and the editor then saves without asking.
JWT token for authentication
In: header
Path Parameters
Workflow UUID
uuidRequest Body
application/json
The draft, in the shape of the update request.
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/workflow/497f6eca-6276-4993-bfeb-53cbbbba6f08/impact" \ -H "Content-Type: application/json" \ -d '{}'{ "success": true, "message": "string", "error": "string", "data": { "confirm": true, "interface": { "level": "major", "breaking": true, "changes": [ { "side": "input", "path": "string", "kind": "string", "breaking": true } ] }, "items": [ { "kind": "trigger", "severity": "breaks", "label": "string", "message": "string", "url": "string" } ], "ways": [ { "title": "string", "description": "string", "url": "string", "code": "string" } ], "refused": true, "refusedMessage": "string", "copyUrl": "string", "renames": [ { "direction": "input", "from": "string", "to": "string", "places": [ { "kind": "string", "label": "string", "url": "string", "enabled": true } ] } ] }}Validate workflow POST
Validate a workflow structure without saving it. Checks for: - Valid node connections and port compatibility - Required configuration fields - Circular dependencies - Orphaned nodes - Missing required inputs
Save a draft as a new workflow POST
Save the draft in the body as a new workflow, named after the draft with ` (copy)` added. The workflow `id` names is left as it is. Triggers carried over from it start switched off, so the copy does not fire next to the original. This is the way out of a refused update. The impact check names this endpoint in `copyUrl`.