/management/wls/{version}

This resource contains overall information about the WLS domain.

The resource supports the following methods:

GET Method

The GET method on this resource returns overall information about this domain, for example, aggregated server runtime statistics.

Roles

Administrator, Deployer, Operator, Monitor

Response Body

The response body returned includes a Wls entity.

This method can return the following links:

  • uri=/management/wls/{version}/jobs rel=jobs

  • uri=/management/wls/{version}/servers rel=servers

  • uri=/management/wls/{version}/deployments rel=deployments

  • uri=/management/wls/{version}/datasources rel=datasources

  • uri=/management/wls/{version}/changeManager rel=changeManager

  • uri=/management/wls/{version}/targets rel=targets

  • uri=/management/wls rel=parent

Response Codes

This method returns one of the Standard HTTP Status Codes.

Example

Example 1   Getting Information About a Domain

This example obtains the root WLS resource links and summary information for 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

Example Response

HTTP/1.1 200 OK
HTTP/1.1 200 OK

Response Body:
{
    "links": [
        {
            "rel": "parent",
            "uri": "http:\/\/localhost:7001\/management\/wls"
        },
        {
            "rel": "jobs",
            "uri": "http:\/\/localhost:7001\/management\/wls\/latest\/jobs"
        },
        {
            "rel": "servers",
            "uri": "http:\/\/localhost:7001\/management\/wls\/latest\/servers"
        },
        {
            "rel": "deployments",
            "uri": "http:\/\/localhost:7001\/management\/wls\/latest\/deployments"
        },
        {
            "rel": "datasources",
            "uri": "http:\/\/localhost:7001\/management\/wls\/latest\/datasources"
        },
        {
            "rel": "changeManager",
            "uri": "http:\/\/localhost:7001\/management\/wls\/latest\/changeManager"
        },
        {
            "rel": "targets",
            "uri": "http:\/\/localhost:7001\/management\/wls\/latest\/targets"
        }
    ],
    "item": {
        "name": "mydomain",
        "productionMode": false,
        "activeHttpSessionCount": 0,
        "activeThreadCount": 5,
        "configuredServerCount": 3,
        "activeServerCount": 1,
        "overallServiceHealth": {"state": "ok"}
    }
}