The wls resource contains information about the versions of the REST interface supported by the WLS domain.
For information about versions supported by the REST interface, see The {version} Specifier in Resource URLs.
The resource supports the following methods:
The GET method on this resource returns information about each supported version of this REST interface.
For information about versions supported by the REST interface, see The {version} Specifier in Resource URLs.
The response body returned includes a list Version entities for the supported versions of this REST interface.
This method can return the following links:
uri=/management/wls/{versions} rel=versions
uri=/management/wls/12.1.3.0 rel=items.version title=12.1.3.0
uri=/management/wls/latest rel=items.version title=latest
uri=/management/wls/12.1.3.0 rel=current
This method returns one of the Standard HTTP Status Codes.
This example demonstrates how to obtain information about each supported version of the REST resources.
Example Request
curl -v \ --user username:password \ -H X-Requested-By:MyClient \ -H Accept:application/json \ -X GET http://localhost:7001/management/wls
Example Response
HTTP/1.1 200 OK
Response Body:
{
"links": [
{
"rel": "items.version",
"uri": "http:\/\/localhost:7001\/management\/wls\/12.1.3.0",
"title": "12.1.3.0"
},
{
"rel": "items.version",
"uri": "http:\/\/localhost:7001\/management\/wls\/latest",
"title": "latest"
},
{
"rel": "current",
"uri": "http:\/\/localhost:7001\/management\/wls\/12.1.3.0"
}
],
"items": [
{
"version": "12.1.3.0",
"lifecycle": "active",
"isLatest": true
},
{
"version": "latest",
"lifecycle": "active",
"isLatest": true
}
]
}