This resource lists the deployments that run in this WLS domain.
The resource supports the following methods:
The GET method on this resource returns a listing of all the deployments in this WLS domain.
The response body returned includes a collection of Deployment entities. It also contains links to their corresponding resources.
This method can return the following links:
uri=/management/wls/{version}/deployments/inspect rel=inspect
uri=/management/wls/{version}/deployments/application rel=application
uri=/management/wls/{version}/deployments/library rel=library
uri=/management/wls/{version} rel=parent
uri=/management/wls/{version}/deployments/application/id/{application-name} rel=application title=name
uri=/management/wls/{version}/deployments/library/id/{library-name} rel=library title=name
This method returns one of the Standard HTTP Status Codes.
This example uses the GET method to display all deployments in a domain.
Example Request
curl -v \ --user username:password \ -H X-Requested-By:MyClient \ -H Accept:application/json \ -X GET http://localhost:7001/management/wls/latest/deployments
Example Response
HTTP/1.1 200 OK
Response Body:
{
"links": [
{
"rel": "parent",
"uri": "http:\/\/localhost:7001\/management\/wls\/latest"
},
{
"rel": "inspect",
"uri": "http:\/\/localhost:7001\/management\/wls\/latest\/deployments\/inspect"
},
{
"rel": "application",
"uri": "http:\/\/localhost:7001\/management\/wls\/latest\/deployments\/application"
},
{
"rel": "library",
"uri": "http:\/\/localhost:7001\/management\/wls\/latest\/deployments\/library"
},
{
"rel": "application",
"uri": "http:\/\/localhost:7001\/management\/wls\/latest\/deployments\/application\/id\/BasicApp",
"title": "BasicApp"
},
{
"rel": "library",
"uri": "http:\/\/localhost:7001\/management\/wls\/latest\/deployments\/library\/id\/airline",
"title": "airline"
}
],
"items": [
{
"name": "BasicApp",
"state": "active",
"type": "application",
"targets": ["myserver"],
"displayName": "BasicApp",
"deploymentPath": "\/deployments\/BasicApp\/app\/BasicApp.ear"
},
{
"name": "airline",
"state": "active",
"type": "library",
"targets": [
"myserver",
"Cluster-0"
],
"displayName": "airline",
"deploymentPath": "\/deployments\/airline.war"
}
]
}