{
  "opencollection": "1.0.0",
  "info": {
    "name": "Apache NiFi REST API",
    "version": "2.x"
  },
  "items": [
    {
      "info": {
        "name": "Access",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Create an access token using username and password",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "http://{host}:{port}/nifi-api/access/token",
            "body": {
              "type": "form-urlencoded",
              "data": [
                {
                  "name": "username",
                  "value": ""
                },
                {
                  "name": "password",
                  "value": ""
                }
              ]
            }
          },
          "docs": "Create an access token using username and password"
        },
        {
          "info": {
            "name": "Log the current user out and invalidate the JWT",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "http://{host}:{port}/nifi-api/access/logout",
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Log the current user out and invalidate the JWT"
        },
        {
          "info": {
            "name": "Retrieve authentication configuration and status",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://{host}:{port}/nifi-api/authentication/configuration"
          },
          "docs": "Retrieve authentication configuration and status"
        }
      ]
    },
    {
      "info": {
        "name": "Connections",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Retrieve a connection",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://{host}:{port}/nifi-api/connections/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Retrieve a connection"
        },
        {
          "info": {
            "name": "Update a connection",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "http://{host}:{port}/nifi-api/connections/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Update a connection"
        },
        {
          "info": {
            "name": "Delete a connection",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "http://{host}:{port}/nifi-api/connections/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              },
              {
                "name": "version",
                "value": "",
                "type": "query",
                "description": "Revision version for optimistic locking"
              },
              {
                "name": "clientId",
                "value": "",
                "type": "query"
              },
              {
                "name": "disconnectedNodeAcknowledged",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Delete a connection"
        }
      ]
    },
    {
      "info": {
        "name": "Controller Services",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Retrieve a controller service",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://{host}:{port}/nifi-api/controller-services/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Retrieve a controller service"
        },
        {
          "info": {
            "name": "Update a controller service",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "http://{host}:{port}/nifi-api/controller-services/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Update a controller service"
        },
        {
          "info": {
            "name": "Delete a controller service",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "http://{host}:{port}/nifi-api/controller-services/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              },
              {
                "name": "version",
                "value": "",
                "type": "query"
              },
              {
                "name": "clientId",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Delete a controller service"
        }
      ]
    },
    {
      "info": {
        "name": "Flow",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Create a controller service within a process group",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "http://{host}:{port}/nifi-api/flow/process-groups/:id/controller-services",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Create a controller service within a process group"
        },
        {
          "info": {
            "name": "Retrieve overall flow status",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://{host}:{port}/nifi-api/flow/status",
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Retrieve overall flow status"
        }
      ]
    }
  ],
  "bundled": true
}