{
  "opencollection": "1.0.0",
  "info": {
    "name": "Spot by NetApp Audit Service Elastigroup AWS API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Elastigroup AWS",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Elastigroups AWS",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.spotinst.io/aws/ec2/group",
            "params": [
              {
                "name": "accountId",
                "value": "",
                "type": "query",
                "description": "Spot Account ID to filter by"
              }
            ]
          },
          "docs": "Retrieve all Elastigroup instances for the authenticated account on AWS."
        },
        {
          "info": {
            "name": "Create Elastigroup AWS",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.spotinst.io/aws/ec2/group",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a new Elastigroup for intelligent auto-scaling on AWS with Spot instances."
        },
        {
          "info": {
            "name": "Get Elastigroup AWS",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.spotinst.io/aws/ec2/group/:groupId",
            "params": [
              {
                "name": "groupId",
                "value": "",
                "type": "path",
                "description": "Elastigroup identifier"
              }
            ]
          },
          "docs": "Retrieve a specific Elastigroup by ID."
        },
        {
          "info": {
            "name": "Update Elastigroup AWS",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.spotinst.io/aws/ec2/group/:groupId",
            "params": [
              {
                "name": "groupId",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update an existing Elastigroup configuration."
        },
        {
          "info": {
            "name": "Delete Elastigroup AWS",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.spotinst.io/aws/ec2/group/:groupId",
            "params": [
              {
                "name": "groupId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Delete an Elastigroup and all associated resources."
        },
        {
          "info": {
            "name": "Scale Up Elastigroup AWS",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.spotinst.io/aws/ec2/group/:groupId/scale/up",
            "params": [
              {
                "name": "groupId",
                "value": "",
                "type": "path"
              },
              {
                "name": "adjustment",
                "value": "",
                "type": "query",
                "description": "Number of instances to add"
              }
            ]
          },
          "docs": "Scale up an Elastigroup by adding capacity."
        },
        {
          "info": {
            "name": "Scale Down Elastigroup AWS",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.spotinst.io/aws/ec2/group/:groupId/scale/down",
            "params": [
              {
                "name": "groupId",
                "value": "",
                "type": "path"
              },
              {
                "name": "adjustment",
                "value": "",
                "type": "query",
                "description": "Number of instances to remove"
              }
            ]
          },
          "docs": "Scale down an Elastigroup by removing capacity."
        },
        {
          "info": {
            "name": "Get Elastigroup Status AWS",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.spotinst.io/aws/ec2/group/:groupId/status",
            "params": [
              {
                "name": "groupId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Retrieve the current status and instance details for an Elastigroup."
        },
        {
          "info": {
            "name": "Get Elastigroup Costs AWS",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.spotinst.io/aws/ec2/group/:groupId/costs",
            "params": [
              {
                "name": "groupId",
                "value": "",
                "type": "path"
              },
              {
                "name": "toDate",
                "value": "",
                "type": "query"
              },
              {
                "name": "fromDate",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Retrieve cost analysis and savings for an Elastigroup."
        }
      ]
    }
  ],
  "bundled": true
}