{
  "opencollection": "1.0.0",
  "info": {
    "name": "Release.com Platform Accounts Clusters API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "X-User-Email",
      "value": "{{X-User-Email}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Clusters",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Download kubeconfig",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.release.com/accounts/:account_id/clusters/:id/kubeconfig",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path",
                "description": "Account ID (integer or hashid)"
              },
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Resource ID (integer or hashid)"
              }
            ]
          },
          "docs": "Download kubeconfig"
        },
        {
          "info": {
            "name": "List database snapshots",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.release.com/accounts/:account_id/clusters/:id/database_snapshots",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path",
                "description": "Account ID (integer or hashid)"
              },
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Resource ID (integer or hashid)"
              }
            ]
          },
          "docs": "List database snapshots"
        },
        {
          "info": {
            "name": "Verify cluster",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.release.com/accounts/:account_id/clusters/:id/verify",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path",
                "description": "Account ID (integer or hashid)"
              },
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Resource ID (integer or hashid)"
              }
            ]
          },
          "docs": "Verify cluster"
        },
        {
          "info": {
            "name": "Generate cluster certificate",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.release.com/accounts/:account_id/clusters/:id/certificate",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path",
                "description": "Account ID (integer or hashid)"
              },
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Resource ID (integer or hashid)"
              }
            ]
          },
          "docs": "Generate cluster certificate"
        },
        {
          "info": {
            "name": "Upgrade cluster",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.release.com/accounts/:account_id/clusters/:id/upgrade",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path",
                "description": "Account ID (integer or hashid)"
              },
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Resource ID (integer or hashid)"
              }
            ]
          },
          "docs": "Upgrade cluster"
        },
        {
          "info": {
            "name": "Patch refresh node groups Cluster",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.release.com/accounts/:account_id/clusters/:id/patch_refresh_node_groups",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path",
                "description": "Account ID (integer or hashid)"
              },
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Resource ID (integer or hashid)"
              }
            ]
          },
          "docs": "Patch refresh node groups Cluster"
        },
        {
          "info": {
            "name": "List Clusters",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.release.com/accounts/:account_id/clusters",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path",
                "description": "Account ID (integer or hashid)"
              }
            ]
          },
          "docs": "List Clusters"
        },
        {
          "info": {
            "name": "Create Cluster",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.release.com/accounts/:account_id/clusters",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path",
                "description": "Account ID (integer or hashid)"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create Cluster"
        },
        {
          "info": {
            "name": "New Cluster",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.release.com/accounts/:account_id/clusters/new",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path",
                "description": "Account ID (integer or hashid)"
              }
            ]
          },
          "docs": "New Cluster"
        },
        {
          "info": {
            "name": "Edit Cluster",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.release.com/accounts/:account_id/clusters/:id/edit",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path",
                "description": "Account ID (integer or hashid)"
              },
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Resource ID (integer or hashid)"
              }
            ]
          },
          "docs": "Edit Cluster"
        },
        {
          "info": {
            "name": "Get Cluster",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.release.com/accounts/:account_id/clusters/:id",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path",
                "description": "Account ID (integer or hashid)"
              },
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Resource ID (integer or hashid)"
              }
            ]
          },
          "docs": "Get Cluster"
        },
        {
          "info": {
            "name": "Update Cluster",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.release.com/accounts/:account_id/clusters/:id",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path",
                "description": "Account ID (integer or hashid)"
              },
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Resource ID (integer or hashid)"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update Cluster"
        },
        {
          "info": {
            "name": "Update Cluster",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.release.com/accounts/:account_id/clusters/:id",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path",
                "description": "Account ID (integer or hashid)"
              },
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Resource ID (integer or hashid)"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update Cluster"
        },
        {
          "info": {
            "name": "Delete Cluster",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.release.com/accounts/:account_id/clusters/:id",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path",
                "description": "Account ID (integer or hashid)"
              },
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Resource ID (integer or hashid)"
              }
            ]
          },
          "docs": "Delete Cluster"
        }
      ]
    }
  ],
  "bundled": true
}