List All Deployments

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 lists all deployments inside Tcat Server. Returns a JSON type that contains two properties: total, which is the total number of deployments found in the system, and data, which is an array of package types.

Example Request:

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

Example Response:

200 OK
Transfer-Encoding: chunked
Content-Type: application/json
Server: Apache-Coyote/1.1
Date: Mon, 10 Aug 2015 16:57:39 GMT

{
  "total" : 1,
  "data":[
    {
      "id" : "local$8ffe969e-77c1-497d-8d28-4a9bd56d886a",
      "name" : "Test",
      "action" : "DEPLOY",
      "lastModified" : 1257872258783,
      "status" : "In Process",
      "href" : "http://localhost:8080/console/api/deployments/local$8ffe969e-77c1-497d-8d28-4a9bd56d886a",
      "applications": [
        {
          "name" : "test.war",
          "href" : "http://localhost:8080/console/api/registry/Applications/test.war/1.0"
        }
      ],
      "servers": [
        {
          "name" : "DevelopmentServer1 ",
          "href" : "http://localhost:8080/console/api/servers/local$c458777f-122f-4f7a-8451-6cccfdd6c94e"
        }
      ]
    }
  ]
}

Was this article helpful?

💙 Thanks for your feedback!

Edit on GitHub