Contact Free trial Login

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:

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

Example Response:

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"
}