This resource lists all servers and clusters in this WLS domain.
The resource supports the following methods:
The GET method on this resource returns all servers and clusters in this WLS domain.
The response body contains a collection of Target entities.
This method can return the following links:
uri=/management/wls/{version} rel=parent
This method returns one of the Standard HTTP Status Codes.
This example uses the GET method to return a list of all targets in this 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/targets
Example Response
HTTP/1.1 200 OK
Response Body:
{
"links": [{
"rel": "parent",
"uri": "http:\/\/localhost:7001\/management\/wls\/latest"
}],
"items": [
{
"name": "myserver",
"type": "server"
},
{
"name": "Cluster-0",
"type": "cluster"
}
]
}