Edit a draft
Changed onChange the draft by commands — add, update, rename, move and remove nodes and edges, settings and declarations — under the draftVersion you read. All the spec commands apply or none do; a stale version is a 409 AUTOMATION_VERSION_CONFLICT. layout commands move things on the canvas and are never refused.
Request
- Base URLhttps://api.banksync.io
- Auth
- API key in header X-API-Key
- or HTTP bearer
Path parameters
Automation ID
Headers
Makes a retry safe: the same key with the same request replays the first answer for 24 hours instead of running twice, and the same key with a different request is a 409 IDEMPOTENCY_KEY_REUSED. Refusals a retry can outlive — 408, 409, 423, 425, 429 and every 5xx — are never replayed, so retrying with the same key after the cause clears runs the request.
Request body
The draftVersion you read. Spec commands against an older one are refused with AUTOMATION_VERSION_CONFLICT.
Commands that change the definition, applied in order, all or none: node.add, node.update, node.rename (rewrites every node('<ref>')), node.move, node.remove, edge.add, edge.update, edge.remove, settings.set, declarations.set (inputs, outputs, config or bindings, whole), description.set. node.update's patch replaces each field it names: send the whole params. Params take literals, { "$expr": { "lang": "flagbase", "src": "…" } } and { "$bind": "<binding>" }, as creating an automation describes.
Commands that move things on the canvas (position.set, position.clear, note.put, note.remove, frame.put, frame.remove); never refused.
Response
The new draft version and its findings
Changes
- breaking
removed
subschema #1subschema #2from thespec/itemsrequest propertyoneOflist - info
added
subschema #1subschema #2to thespec/itemsrequest propertyoneOflist
- breaking