{
  "opencollection": "1.0.0",
  "info": {
    "name": "KurrentDB HTTP Admin API",
    "version": "v26.1"
  },
  "request": {
    "auth": {
      "type": "basic",
      "username": "{{username}}",
      "password": "{{password}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Admin",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Shut down the node",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{host}:{port}/admin/shutdown"
          },
          "docs": "Shut down the node"
        },
        {
          "info": {
            "name": "Resign leadership of the node",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{host}:{port}/admin/node/resign"
          },
          "docs": "Resign leadership of the node"
        },
        {
          "info": {
            "name": "Start a scavenge operation",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{host}:{port}/admin/scavenge",
            "params": [
              {
                "name": "startFromChunk",
                "value": "",
                "type": "query",
                "description": "Chunk number to start scavenging from"
              },
              {
                "name": "threads",
                "value": "",
                "type": "query",
                "description": "Number of threads to use for the scavenge"
              }
            ]
          },
          "docs": "Start a scavenge operation"
        },
        {
          "info": {
            "name": "Stop a running scavenge operation",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://{host}:{port}/admin/scavenge/:scavengeId",
            "params": [
              {
                "name": "scavengeId",
                "value": "",
                "type": "path",
                "description": "Identifier of the running scavenge operation"
              }
            ]
          },
          "docs": "Stop a running scavenge operation"
        },
        {
          "info": {
            "name": "Merge the node indexes",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{host}:{port}/admin/mergeindexes"
          },
          "docs": "Merge the node indexes"
        }
      ]
    }
  ],
  "bundled": true
}