{
  "opencollection": "1.0.0",
  "info": {
    "name": "Spot Administration Access Policies Ocean AWS API",
    "version": "2.0.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Ocean AWS",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Spot List Ocean Clusters (aws)",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.spotinst.io/ocean/aws/k8s/cluster",
            "params": [
              {
                "name": "accountId",
                "value": "500123",
                "type": "query"
              }
            ]
          },
          "docs": "List all Ocean clusters for AWS in the account."
        },
        {
          "info": {
            "name": "Spot Create Ocean Cluster (aws)",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.spotinst.io/ocean/aws/k8s/cluster",
            "params": [
              {
                "name": "accountId",
                "value": "500123",
                "type": "query"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a new Ocean cluster for AWS EKS."
        },
        {
          "info": {
            "name": "Spot Get Ocean Cluster (aws)",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.spotinst.io/ocean/aws/k8s/cluster/:oceanClusterId",
            "params": [
              {
                "name": "oceanClusterId",
                "value": "500123",
                "type": "path"
              },
              {
                "name": "accountId",
                "value": "500123",
                "type": "query"
              }
            ]
          },
          "docs": "Get the configuration of an Ocean cluster."
        },
        {
          "info": {
            "name": "Spot Update Ocean Cluster (aws)",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.spotinst.io/ocean/aws/k8s/cluster/:oceanClusterId",
            "params": [
              {
                "name": "oceanClusterId",
                "value": "500123",
                "type": "path"
              },
              {
                "name": "accountId",
                "value": "500123",
                "type": "query"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update an existing Ocean cluster configuration."
        },
        {
          "info": {
            "name": "Spot Delete Ocean Cluster (aws)",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.spotinst.io/ocean/aws/k8s/cluster/:oceanClusterId",
            "params": [
              {
                "name": "oceanClusterId",
                "value": "500123",
                "type": "path"
              },
              {
                "name": "accountId",
                "value": "500123",
                "type": "query"
              }
            ]
          },
          "docs": "Delete an Ocean cluster."
        }
      ]
    }
  ],
  "bundled": true
}