Contact Us 1-800-596-4880

Get a Server

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 retrieves a single server. To obtain the URL from the server, use the href property of the server when listing servers or use the redirectOnResult query parameter to look up a server by its name.

Example Request:

GET http://localhost:8080/console/api/servers/1234567890

Example Response:

200 OK
Content-Type: application/json
Server: Apache-Coyote/1.1
Date: Sun, 26 Jul 2015 00:12:55 GMT

{
  "id" : "1234567890",
  "href" : "http://localhost:8080/console/api/servers/1234567890",
  "name" : "DevelopmentServer1",
  "type" : "Apache Tomcat/6.0.20",
  "hosts" : [ "http://192.168.1.105:8090", "http://192.168.1.105:8010" ],
  "groups" : [
    {
      "name" : "Development",
      "href" : "http://localhost:8080/console/api/serverGroups/73d89173-290e-4cb3-a61c-e11deb74767d"
    }
  ],
  "packages" : [
    {
      "name" : "Test",
      "href" : "http://localhost:8080/console/api/packages/local$fb9dcb67-88de-482a-b0a4-50ff1d65a16a"
    }
  ]
}