{
  "opencollection": "1.0.0",
  "info": {
    "name": "Open Liberty APIs Applications Clusters API",
    "version": "24.0.0"
  },
  "request": {
    "auth": {
      "type": "basic",
      "username": "{{username}}",
      "password": "{{password}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Clusters",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Clusters",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://localhost:9443/clusters"
          },
          "docs": "Returns a list of all clusters in the cell."
        },
        {
          "info": {
            "name": "Create a Cluster",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://localhost:9443/clusters",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new cluster in the collective."
        },
        {
          "info": {
            "name": "Get Cluster Details",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://localhost:9443/clusters/:clusterName",
            "params": [
              {
                "name": "clusterName",
                "value": "",
                "type": "path",
                "description": "Cluster name"
              }
            ]
          },
          "docs": "Returns details of a specific cluster."
        },
        {
          "info": {
            "name": "Delete a Cluster",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://localhost:9443/clusters/:clusterName",
            "params": [
              {
                "name": "clusterName",
                "value": "",
                "type": "path",
                "description": "Cluster name"
              }
            ]
          },
          "docs": "Deletes a cluster from the collective."
        },
        {
          "info": {
            "name": "Start a Cluster",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://localhost:9443/clusters/:clusterName/start",
            "params": [
              {
                "name": "clusterName",
                "value": "",
                "type": "path",
                "description": "Cluster name"
              }
            ]
          },
          "docs": "Starts all members of the specified cluster."
        },
        {
          "info": {
            "name": "Stop a Cluster",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://localhost:9443/clusters/:clusterName/stop",
            "params": [
              {
                "name": "clusterName",
                "value": "",
                "type": "path",
                "description": "Cluster name"
              }
            ]
          },
          "docs": "Stops all members of the specified cluster."
        },
        {
          "info": {
            "name": "List Cluster Members",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://localhost:9443/clusters/:clusterName/members",
            "params": [
              {
                "name": "clusterName",
                "value": "",
                "type": "path",
                "description": "Cluster name"
              }
            ]
          },
          "docs": "Returns a list of members in the specified cluster."
        },
        {
          "info": {
            "name": "Add a Member to a Cluster",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://localhost:9443/clusters/:clusterName/members",
            "params": [
              {
                "name": "clusterName",
                "value": "",
                "type": "path",
                "description": "Cluster name"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Adds an existing collective member to the specified cluster."
        },
        {
          "info": {
            "name": "Remove a Member From a Cluster",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://localhost:9443/clusters/:clusterName/members/:memberName",
            "params": [
              {
                "name": "clusterName",
                "value": "",
                "type": "path",
                "description": "Cluster name"
              },
              {
                "name": "memberName",
                "value": "",
                "type": "path",
                "description": "Collective member server name"
              }
            ]
          },
          "docs": "Removes a member from the specified cluster."
        }
      ]
    }
  ],
  "bundled": true
}