fbpx
GEThttps://api.spotinst.io/gcp/gce/group/{GROUP_ID}/roll?accountId={ACCOUNT}

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 * String

The Spotinst Account ID

Example: act-123567
Request

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

Headers
{
    "Content-Type": "application/json"
}
Body
Copied!
Downloaded!
{
      "request": {
          "id": "ad7acaae-8038-4283-bd14-0f169446fc72",
          "url": "/gcp/gce/group/sig-68fbd02b/roll?limit=5&sort=createdAt%3ADESC",
          "method": "GET",
          "timestamp": "2018-02-07T12:31:42.853Z"
      },
      "response": {
          "status": {
              "code": 200,
              "message": "OK"
          },
          "kind": "spotinst:gcp:gce:group:roll",
          "items": [
              {
                  "id": "sbgd-19428edb",
                  "status": "finished",
                  "progress": {
                      "unit": "percent",
                      "value": 100
                  },
                  "createdAt": "2018-02-07T11:59:58.000+0000",
                  "updatedAt": "2018-02-07T12:06:16.000+0000"
              },
              {
                  "id": "sbgd-190f083c",
                  "status": "stopped",
                  "progress": {
                      "unit": "percent",
                      "value": 0
                  },
                  "createdAt": "2018-02-07T11:54:57.000+0000",
                  "updatedAt": "2018-02-07T11:58:19.000+0000"
              },
              {
                  "id": "sbgd-03743fbf",
                  "status": "stopped",
                  "progress": {
                      "unit": "percent",
                      "value": 0
                  },
                  "createdAt": "2018-02-07T10:50:12.000+0000",
                  "updatedAt": "2018-02-07T10:50:29.000+0000"
              },
              {
                  "id": "sbgd-60f34327",
                  "status": "finished",
                  "progress": {
                      "unit": "percent",
                      "value": 100
                  },
                  "createdAt": "2018-02-07T10:39:38.000+0000",
                  "updatedAt": "2018-02-07T10:47:16.000+0000"
              },
              {
                  "id": "sbgd-77531811",
                  "status": "stopped",
                  "progress": {
                      "unit": "percent",
                      "value": 66.66666666666666
                  },
                  "createdAt": "2018-02-07T10:25:22.000+0000",
                  "updatedAt": "2018-02-07T10:32:45.000+0000"
              }
          ],
          "count": 5
      }
  }