Nav

Get a Server Group

The GET operation returns a single server group with the specified ID. To obtain the URL from the server group, use the href property of the server when getting a list of servers, or use the redirectOnResult query parameter to look up a server by its name.

Example Request:


       
    
1
GET http://localhost:8080/console/api/serverGroups/73d89173-290e-4cb3-a61c-e11deb74767d

Example Response:


       
    
1
2
3
4
5
6
7
8
9
10
11
200 OK
Content-Type: application/json
Server: Apache-Coyote/1.1
Date: Sun, 26 Jul 2015 00:12:55 GMT
  
{
  "name" : "NewGroupName",
  "id" : "73d89173-290e-4cb3-a61c-e11deb74767d",
  "serverCount" : 0,
  "href" : "http://localhost:8080/console/api/serverGroups/73d89173-290e-4cb3-a61c-e11deb74767d"
}