{
  "opencollection": "1.0.0",
  "info": {
    "name": "Astro Platform AgentToken Cluster API",
    "version": "v1.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Cluster",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List clusters",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.astronomer.io/v1/organizations/:organizationId/clusters",
            "params": [
              {
                "name": "organizationId",
                "value": "",
                "type": "path",
                "description": "The Organization's unique ID."
              },
              {
                "name": "names",
                "value": "",
                "type": "query",
                "description": "A list of names for Clusters to filter by. The API returns details only for the specified Clusters."
              },
              {
                "name": "provider",
                "value": "",
                "type": "query",
                "description": "The cloud provider to list clusters for. Clusters from other providers will be filtered out of the results."
              },
              {
                "name": "offset",
                "value": "",
                "type": "query",
                "description": "The number of results to skip before returning values."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "The maximum number of results to return."
              },
              {
                "name": "sorts",
                "value": "",
                "type": "query",
                "description": "A list of field names to sort by, and whether to show results as ascending or descending. Formatted as `<fieldName>:asc` or `<fieldName>:desc`."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "List clusters in an Organization."
        },
        {
          "info": {
            "name": "Create a cluster",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.astronomer.io/v1/organizations/:organizationId/clusters",
            "params": [
              {
                "name": "organizationId",
                "value": "",
                "type": "path",
                "description": "The ID of the Organization to create the cluster in."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Create a cluster in the Organization. An Astro cluster is a Kubernetes cluster that hosts the infrastructure required to run Deployments."
        },
        {
          "info": {
            "name": "Get a cluster",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.astronomer.io/v1/organizations/:organizationId/clusters/:clusterId",
            "params": [
              {
                "name": "organizationId",
                "value": "",
                "type": "path",
                "description": "The ID of the Organization to which the cluster belongs."
              },
              {
                "name": "clusterId",
                "value": "",
                "type": "path",
                "description": "The cluster's ID."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Retrieve details about a cluster."
        },
        {
          "info": {
            "name": "Update a cluster",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.astronomer.io/v1/organizations/:organizationId/clusters/:clusterId",
            "params": [
              {
                "name": "organizationId",
                "value": "",
                "type": "path",
                "description": "The ID of the Organization to which the cluster belongs."
              },
              {
                "name": "clusterId",
                "value": "",
                "type": "path",
                "description": "The cluster's ID"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Update a cluster in the Organization."
        },
        {
          "info": {
            "name": "Delete a cluster",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.astronomer.io/v1/organizations/:organizationId/clusters/:clusterId",
            "params": [
              {
                "name": "organizationId",
                "value": "",
                "type": "path",
                "description": "The ID of the Organization to which the cluster belongs."
              },
              {
                "name": "clusterId",
                "value": "",
                "type": "path",
                "description": "The cluster's ID."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Delete a cluster."
        }
      ]
    }
  ],
  "bundled": true
}