addedInput schema / properties / name
Added value: +{
+ "description": "Rename the workflow.",
+ "type": "string"
+}
addedInput schema / properties / ops
Added value: +{
+ "items": {
+ "description": "One edit to the draft. Set `op` and the fields that op uses.\n\n| `op` | Fields | Effect |\n|---|---|---|\n| `add_node` | `id`, `type`, `label?`, `config?`, `after?`, `handle?`, `position?` | Adds a node. With `after`, it also connects it to that node (on output `handle`). |\n| `update_node` | `id`, `config?`, `label?` | Merges `config` keys into the node. A `null` value removes a key. |\n| `move_node` | `id`, `position` | Moves a node on the canvas. |\n| `delete_node` | `id` | Deletes a node and its edges. |\n| `connect` | `from`, `to`, `handle?` | Adds an edge. |\n| `disconnect` | `from`, `to`, `handle?` | Removes an edge. |\n",
+ "properties": {
+ "after": {
+ "description": "`add_node`: id of the node to connect the new node to.",
+ "type": "string"
+ },
+ "config": {
+ "additionalProperties": true,
+ "description": "`add_node`, `update_node`: the node's settings. The fields come from\n`getWorkflowNodeType`. Send a secret back as `********` to keep the\nstored value.\n",
+ "type": "object"
+ },
+ "from": {
+ "description": "`connect`, `disconnect`: id of the node the edge starts at.",
+ "type": "string"
+ },
+ "handle": {
+ "description": "`add_node`, `connect`, `disconnect`: the output of the source node. Omit for the default output.",
+ "type": "string"
+ },
+ "id": {
+ "description": "Node id. For `add_node`, lowercase letters, digits and underscores, starting with a letter. It must be new.",
+ "type": "string"
+ },
+ "label": {
+ "description": "`add_node`, `update_node`: the name shown on the canvas.",
+ "type": "string"
+ },
+ "op": {
+ "enum": [
+ "add_node",
+ "update_node",
+ "move_node",
+ "delete_node",
+ "connect",
+ "disconnect"
+ ],
+ "type": "string"
+ },
+ "position": {
+ "description": "`add_node`, `move_node`: canvas position. `add_node` places the node for you if you omit it.",
+ "properties": {
+ "x": {
+ "type": "number"
+ },
+ "y": {
+ "type": "number"
+ }
+ },
+ "type": "object"
+ },
+ "to": {
+ "description": "`connect`, `disconnect`: id of the node the edge ends at.",
+ "type": "string"
+ },
+ "type": {
+ "description": "`add_node`: a node type from `listWorkflowNodeTypes`.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "op"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+}
removedInput schema / properties / requestBody
Removed value: -{
- "description": "The JSON request body.",
- "properties": {
- "name": {
- "description": "Rename the workflow.",
- "type": "string"
- },
- "ops": {
- "items": {
- "description": "One edit to the draft. Set `op` and the fields that op uses.\n\n| `op` | Fields | Effect |\n|---|---|---|\n| `add_node` | `id`, `type`, `label?`, `config?`, `after?`, `handle?`, `position?` | Adds a node. With `after`, it also connects it to that node (on output `handle`). |\n| `update_node` | `id`, `config?`, `label?` | Merges `config` keys into the node. A `null` value removes a key. |\n| `move_node` | `id`, `position` | Moves a node on the canvas. |\n| `delete_node` | `id` | Deletes a node and its edges. |\n| `connect` | `from`, `to`, `handle?` | Adds an edge. |\n| `disconnect` | `from`, `to`, `handle?` | Removes an edge. |\n",
- "properties": {
- "after": {
- "description": "`add_node`: id of the node to connect the new node to.",
- "type": "string"
- },
- "config": {
- "additionalProperties": true,
- "description": "`add_node`, `update_node`: the node's settings. The fields come from\n`getWorkflowNodeType`. Send a secret back as `********` to keep the\nstored value.\n",
- "type": "object"
- },
- "from": {
- "description": "`connect`, `disconnect`: id of the node the edge starts at.",
- "type": "string"
- },
- "handle": {
- "description": "`add_node`, `connect`, `disconnect`: the output of the source node. Omit for the default output.",
- "type": "string"
- },
- "id": {
- "description": "Node id. For `add_node`, lowercase letters, digits and underscores, starting with a letter. It must be new.",
- "type": "string"
- },
- "label": {
- "description": "`add_node`, `update_node`: the name shown on the canvas.",
- "type": "string"
- },
- "op": {
- "enum": [
- "add_node",
- "update_node",
- "move_node",
- "delete_node",
- "connect",
- "disconnect"
- ],
- "type": "string"
- },
- "position": {
- "description": "`add_node`, `move_node`: canvas position. `add_node` places the node for you if you omit it.",
- "properties": {
- "x": {
- "type": "number"
- },
- "y": {
- "type": "number"
- }
- },
- "type": "object"
- },
- "to": {
- "description": "`connect`, `disconnect`: id of the node the edge ends at.",
- "type": "string"
- },
- "type": {
- "description": "`add_node`: a node type from `listWorkflowNodeTypes`.",
- "type": "string"
- }
- },
- "required": [
- "op"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "revision": {
- "description": "The `draft.revision` from your last `getWorkflow` or edit.",
- "type": "string"
- }
- },
- "required": [
- "revision",
- "ops"
- ],
- "type": "object"
-}
addedInput schema / properties / revision
Added value: +{
+ "description": "The `draft.revision` from your last `getWorkflow` or edit.",
+ "type": "string"
+}
changedInput schema / required
Previous value: -[
- "workflow_id",
- "requestBody"
-]New value: +[
+ "workflow_id",
+ "revision",
+ "ops"
+]