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

Get status of a specific deployment

URL Parameters

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_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": "57f6db69-35ba-4e58-be37-290d6df72bb5",
    "url": "/aws/ec2/group/sig-12345/roll/sbgd-dfb956b4",
    "method": "GET",
    "timestamp": "2017-02-02T00:27:01.023Z"
  },
  "response": {
    "status": {
      "code": 200,
      "message": "OK"
    },
    "kind": "spotinst:aws:ec2:group:roll",
    "items": [
      {
        "id": "sbgd-dfb956b4",
        "status": "finished",
        "progress": {
          "unit": "percent",
          "value": 100
        },
        "createdAt": "2017-01-31T13:54:53.000+0000",
        "updatedAt": "2017-01-31T14:26:37.000+0000"
      }
    ],
    "count": 1
  }
}