Contact Free trial Login

List All Deployments

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

We use cookies to make interactions with our websites and services easy and meaningful, to better understand how they are used and to tailor advertising. You can read more and make your cookie choices here. By continuing to use this site you are giving us your consent to do this.