This resource gets information about a specific server.
The resource supports the following methods:
The GET method on this resource returns information about the server identified by the resource URL.
The response body returned includes a Server entity that contains information about the specified server.
This method can return the following links:
uri=/management/wls/{version}/servers/id/{server-name}/logs rel=logs
uri=/management/wls/{version}/servers rel=parent
uri=/management/wls/{version}/servers/id/{server-name}/start rel=action title=start
uri=/management/wls/{version}/servers/id/{server-name}/restart rel=action title=restart
uri=/management/wls/{version}/servers/id/{server-name}/suspend rel=action title=suspend
uri=/management/wls/{version}/servers/id/{server-name}/resume rel=action title=resume
uri=/management/wls/{version}/servers/id/{server-name}/shutdown rel=action title=shutdown
This method returns one of the Standard HTTP Status Codes.
This example uses the GET method to obtain information about a specific server.
Example Request
curl -v \ --user username:password \ -H X-Requested-By:MyClient \ -H Accept:application/json \ -X GET http://localhost:7001/management/wls/latest/servers/id/Cluster-0-Server-1
Example Response
HTTP/1.1 200 OK Response Body: { "links": [ { "rel": "parent", "uri": "http:\/\/localhost:7001\/management\/wls\/latest\/servers" }, { "rel": "logs", "uri": "http:\/\/localhost:7001\/management\/wls\/latest\/servers\/id\/Cluster-0-Server-1\/logs" }, { "rel": "action", "uri": "http:\/\/localhost:7001\/management\/wls\/latest\/servers\/id\/Cluster-0-Server-1\/start", "title": "start" }, { "rel": "action", "uri": "http:\/\/localhost:7001\/management\/wls\/latest\/servers\/id\/Cluster-0-Server-1\/restart", "title": "restart" }, { "rel": "action", "uri": "http:\/\/localhost:7001\/management\/wls\/latest\/servers\/id\/Cluster-0-Server-1\/suspend", "title": "suspend" }, { "rel": "action", "uri": "http:\/\/localhost:7001\/management\/wls\/latest\/servers\/id\/Cluster-0-Server-1\/resume", "title": "resume" }, { "rel": "action", "uri": "http:\/\/localhost:7001\/management\/wls\/latest\/servers\/id\/Cluster-0-Server-1\/shutdown", "title": "shutdown" } ], "item": { "name": "Cluster-0-Server-1", "state": "running", "heapFreeCurrent": 231060176, "heapSizeCurrent": 320798720, "activeHttpSessionCount": 0, "activeThreadCount": 6, "health": {"state": "ok"}, "usedPhysicalMemory": 3925577728, "jvmProcessorLoad": 0 } }