{
  "opencollection": "1.0.0",
  "info": {
    "name": "Bubble Data Action API",
    "version": "1.1"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Action",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Invoke Server-Side Action",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{appname}.bubbleapps.io/api/1.1/actions/serverSide/:actionName",
            "params": [
              {
                "name": "actionName",
                "value": "",
                "type": "path",
                "description": "Name of the action as defined in the plugin editor."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Server-side actions are written as `function(properties, context)`.\nThey run in a Node.js sandbox, may `require` configured npm\ndependencies, and may return data consumed by subsequent workflow\nsteps. Counts as 1 server-side plugin action call (0.2 WU base + per-ms).\n"
        },
        {
          "info": {
            "name": "Invoke Client-Side Action",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{appname}.bubbleapps.io/api/1.1/actions/clientSide/:actionName",
            "params": [
              {
                "name": "actionName",
                "value": "",
                "type": "path",
                "description": "Name of the action as defined in the plugin editor."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Client-side actions are written as `function(properties, context)` and\nrun in the browser. Useful for DOM manipulation, calling browser\nAPIs, or working with already-loaded data. No workload is incurred\nbecause no server roundtrip occurs.\n"
        }
      ]
    }
  ],
  "bundled": true
}