fbpx
GEThttps://api.spotinst.io/aws/ec2/group/{GROUP_ID}/roll?accountId={ACCOUNT_ID}

Get list of all the deployments of a specific Elastigroup and their status

URL Parameters

Parameter Type Description
GROUP_ID * String

The Elastigroup ID you want to get the deployments status for

Example: sig-12345
ACCOUNT_ID String

Your Spotinst accountId associated with your token

Example: act-123abc
Request

Headers
{
    "Content-Type": "application/json",
    "Authorization": "Bearer ${token}"
}
Response - 200

Headers
{
    "Content-Type": "application/json"
}
Body
Copied!
Downloaded!
{
  "request": {
    "id": "efdd3882-6bb1-469c-b3e4-54f45950ec7d",
    "url": "/aws/ec2/group/sig-12345/roll?limit=5&sort=createdAt%3ADESC",
    "method": "GET",
    "timestamp": "2018-03-27T19:50:19.977Z"
  },
  "response": {
    "status": {
      "code": 200,
      "message": "OK"
    },
    "kind": "spotinst:aws:ec2:group:roll",
    "items": [
      {
        "id": "sbgd-781c6212",
        "status": "in_progress",
        "progress": {
          "unit": "percent",
          "value": 0
        },
        "createdAt": "2018-03-27T19:50:12.000+0000",
        "updatedAt": "2018-03-27T19:50:16.000+0000"
      },
      {
        "id": "sbgd-3f127ed0",
        "status": "stopped",
        "progress": {
          "unit": "percent",
          "value": 0
        },
        "createdAt": "2018-03-27T19:46:22.000+0000",
        "updatedAt": "2018-03-27T19:46:35.000+0000"
      },
      {
        "id": "sbgd-3ee19606",
        "status": "finished",
        "progress": {
          "unit": "percent",
          "value": 100
        },
        "createdAt": "2018-03-27T19:35:41.000+0000",
        "updatedAt": "2018-03-27T19:39:18.000+0000"
      },
      {
        "id": "sbgd-cc4c44e2",
        "status": "finished",
        "progress": {
          "unit": "percent",
          "value": 100
        },
        "createdAt": "2018-03-26T19:22:45.000+0000",
        "updatedAt": "2018-03-26T19:26:17.000+0000"
      }
    ],
    "count": 4
  }
}