List All Server Groups

Tcat Server reached its End of Life in 2017. Contact your Customer Success Manager to determine options for managing, monitoring, or deploying your application.

The GET operation returns a list of all the server groups on the resource. The resulting JSON contains two properties: total, which returns the number of total server groups, and data, which is an array of server group types.

Example #1 Request:

GET http://localhost:8080/console/api/serverGroups

Example #1 Response:

200 OK
Content-Type: application/json
Server: Apache-Coyote/1.1
Date: Mon, 10 Aug 2015 00:12:55 GMT
  "total" : 1,
  "data" : [
      "name" : "NewGroupName",
      "id" : "73d89173-290e-4cb3-a61c-e11deb74767d",
      "serverCount" : 0,
      "href" : "http://localhost:8080/console/api/serverGroups/73d89173-290e-4cb3-a61c-e11deb74767d"

Example #2 Request:

GET http://localhost:8080/console/api/serverGroups?name=MyServerGroup&redirectOnResult=true

Example #1 Response:

Location: http://localhost:8080/console/api/serverGroups/serverGroupId

Was this article helpful?

💙 Thanks for your feedback!

Edit on GitHub