GET/stacks/:stack_id/server_groups
List Server Groupspublic
Required Parameters
stack_id
stringThe stack UID
Get list of all server groups of a stack.
Request
GET
/stacks/:stack_id/server_groupscurl -X GET \
"https://app.cloud66.com/api/3/stacks/:stack_id/server_groups" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: application/json"
Response
{
"response": [
{
"id": 128,
"name": "web",
"created_at": "2014-08-29T17:21:25Z",
"updated_at": "2014-08-29T17:21:25Z"
}
],
"count": 1,
"pagination": {
"previous": null,
"next": null,
"current": 1,
"per_page": 30,
"count": 1,
"pages": 1
}
}