latestOpenAPI 3.0.02026-08-2045003.8 MB
72813baf8d47
Elastigroup AWS
Group's Deployments Status
Get list of all the deployments of a specific Elastigroup and their status
get/aws/ec2/group/{groupId}/roll
Query parameters
accountIdstring
ID of the account associated with your token
limitinteger
Limits results
sortstring
Field to sort by the results Default: createdAt:DESC
Parameters
#/paths/~1aws~1ec2~1group~1%7BgroupId%7D/put/parameters/0 — unresolved $ref
Response
Group's Deployments Status Response
Example response
{
"request": {
"id": "46642c7d-bc29-417d-8ce4-79626f00c63c",
"url": "/aws/ec2/group/sig-12345/roll?limit=5&sort=createdAt%3ADESC",
"method": "GET",
"timestamp": "2016-01-21T17:12:51.451Z"
},
"response": {
"status": {
"code": 200,
"message": "OK"
},
"kind": "spotinst:aws:ec2:group:roll",
"items": [
{
"id": "sbgd-781c6212",
"status": "starting",
"progress": {
"unit": "percent",
"value": 0
},
"currentBatch": "1,",
"numOfBatches": 4,
"gracePeriod": 900,
"blueInstances": 4,
"greenInstances": 1,
"createdAt": "2018-03-27T19:50:12.000+0000",
"updatedAt": "2018-03-27T19:50:16.000+0000"
},
{
"id": "sbgd-3ee19606",
"status": "stopped",
"progress": {
"unit": "percent",
"value": 0
},
"currentBatch": "1,",
"numOfBatches": 4,
"gracePeriod": 900,
"blueInstances": 4,
"greenInstances": 1,
"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
},
"currentBatch": "1,",
"numOfBatches": 4,
"gracePeriod": 900,
"blueInstances": 4,
"greenInstances": 1,
"createdAt": "2018-03-26T19:22:45.000+0000",
"updatedAt": "2018-03-26T19:26:17.000+0000"
},
{
"id": "sbgd-3f127ed0",
"status": "starting",
"progress": {
"unit": "percent",
"value": 0
},
"currentBatch": "1,",
"numOfBatches": 4,
"gracePeriod": 900,
"blueInstances": 4,
"greenInstances": 1,
"createdAt": "2018-03-27T19:46:22.000+0000",
"updatedAt": "2018-03-27T19:46:35.000+0000"
}
],
"count": 1
}
}