{
  "opencollection": "1.0.0",
  "info": {
    "name": "Baserow API spec Admin Automation nodes API",
    "version": "2.2.2"
  },
  "items": [
    {
      "info": {
        "name": "Automation nodes",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "update_automation_node",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "{{baseUrl}}/api/automation/node/:node_id/",
            "headers": [
              {
                "name": "ClientSessionId",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "node_id",
                "value": "",
                "type": "path",
                "description": "The id of the node to update."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Updates an existing automation node."
        },
        {
          "info": {
            "name": "delete_automation_node",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/api/automation/node/:node_id/",
            "headers": [
              {
                "name": "ClientSessionId",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "node_id",
                "value": "",
                "type": "path",
                "description": "The id of the node to delete."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Deletes an existing automation node."
        },
        {
          "info": {
            "name": "duplicate_automation_node",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/api/automation/node/:node_id/duplicate/",
            "headers": [
              {
                "name": "ClientSessionId",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "node_id",
                "value": "",
                "type": "path",
                "description": "The node that is to be duplicated."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Duplicate a node of a workflow."
        },
        {
          "info": {
            "name": "move_automation_node",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/api/automation/node/:node_id/move/",
            "headers": [
              {
                "name": "ClientSessionId",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "node_id",
                "value": "",
                "type": "path",
                "description": "The node that is to be moved."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Move a node in a workflow to a new position."
        },
        {
          "info": {
            "name": "replace_automation_node",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/api/automation/node/:node_id/replace/",
            "headers": [
              {
                "name": "ClientSessionId",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "node_id",
                "value": "",
                "type": "path",
                "description": "The node that is to be replaced."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Replace a node in a workflow with one of a new type."
        },
        {
          "info": {
            "name": "simulate_dispatch_automation_node",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/api/automation/node/:node_id/simulate-dispatch/",
            "headers": [
              {
                "name": "ClientSessionId",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "node_id",
                "value": "",
                "type": "path",
                "description": "The node to simulate the dispatch for."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Simulate a dispatch for a node."
        },
        {
          "info": {
            "name": "list_nodes",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/api/automation/workflow/:workflow_id/nodes/",
            "params": [
              {
                "name": "workflow_id",
                "value": "",
                "type": "path",
                "description": "Returns the nodes related to a specific workflow."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Lists all the nodes of the workflow related to the provided parameter if the user has access to the related automation's workspace. If the workspace is related to a template, then this endpoint will be publicly accessible."
        },
        {
          "info": {
            "name": "create_automation_node",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/api/automation/workflow/:workflow_id/nodes/",
            "headers": [
              {
                "name": "ClientSessionId",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "workflow_id",
                "value": "",
                "type": "path",
                "description": "Creates an automation node for the associated workflow."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Creates a new automation workflow node"
        }
      ]
    }
  ],
  "bundled": true
}