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

Get status of a specific deployment

Parameter Type Description
GROUP_ID * String

The Elastigroup ID you want to get the deployments status for

Example: sig-12345
ROLL_ID * String

The deployment id you want to query

Example: sbgd-9876
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": "1987ef25-e0d5-4f4d-9d3e-1279e6b1f1fb",
          "url": "/gcp/gce/group/sig-68fbd02b/roll/sbgd-60f34327?accountId=act-f79aac6b",
          "method": "GET",
          "timestamp": "2018-02-07T12:32:21.378Z"
      },
      
      "response": {
          "status": {
              "code": 200,
              "message": "OK"
          },
          "kind": "spotinst:gcp:gce:group:roll",
          "items": [
              {
                  "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"
              }
          ],
          "count": 1
      }
      
}