View This Version
get
/management/lifecycle/{version}
The GET method on this resource returns information about the supported version of this REST interface.
Roles
Admin, Deployer, Monitor, Operator
Request
Path Parameters
-
version: string
The version of the WebLogic Lifecycle REST interface.
Query Parameters
-
excludeFields(optional): string
The 'excludeFields' query parameter is used to restrict which fields are returned in the response. It is a comma separated list of field names. If present, only fields whose name is not on the list will be returned. If not present, all fields are returned (unless the 'fields' query parameter is specified). Note: 'fields' must not be specified if 'excludeFields' is specified.
-
excludeLinks(optional): string
The 'excludeLinks' query parameter is used to restrict which links are returned in the response. It is a comma separated list of link relationship names. If present, only links whose relationship name is not on the list will be returned. If not present, all links are returned (unless the 'links' query parameter is specified). Note: 'links' must not be specified if 'excludeLinks' is specified.
-
fields(optional): string
The 'fields' query parameter is used to restrict which fields are returned in the response. It is a comma separated list of field names. If present, only fields with matching names are returned. If not present, all fields are returned (unless the 'excludeFields' query parameter is specified). Note: 'excludeFields' must not be specified if 'fields' is specified.
-
links(optional): string
The 'links' query parameter is used to restrict which links are returned in the response. It is a comma separated list of link relationship names. If present, only links with matching relationship names are returned. If not present, all links are returned (unless the 'excludeLinks' query parameter is specified). Note: 'excludeLinks' must not be specified if 'links' is specified.
Security
-
Admin: basic
Type:
basic -
Deployer: basic
Type:
basic -
Monitor: basic
Type:
basic -
Operator: basic
Type:
basic
Response
Supported Media Types
- application/json
200 Response
The response body contains information about the latest supported REST lifecycle interface version that is active and supported in the current WLS release.
This method can return the following links:
- rel=environmentCreateForm uri=/management/lifecycle/{version}/environmentCreateForm
- rel=environments uri=/management/lifecycle/{version}/environments
- rel=runtimeCreateForm uri=/management/lifecycle/{version}/runtimeCreateForm
- rel=runtimes uri=/management/lifecycle/{version}/runtimes
Root Schema : Version
Type:
objectDescribes a version of the lifecycle resources.
Show Source
-
isLatest(optional):
boolean
Trueif this is the default version. -
lifecycle(optional):
string
Allowed Values:
[ "active", "deprecated" ]The lifecycle of this version. -
version(optional):
string
The name of this version.
Examples
Describe Version
This example uses the GET method to describe a version.
Example Request
curl -v \ --user admin:admin123 \ -H X-Requested-By:MyClient \ -H Accept:application/json \ -X GET http://localhost:7001/management/lifecycle/latest
Example Response
HTTP/1.1 200 OK
Response Body:
{
"version": "12.2.1.3.0",
"isLatest": true,
"lifecycle": "active",
"links": [
{
"rel": "parent",
"href": "http:\/\/localhost:7001\/management\/"
},
{
"rel": "self",
"href": "http:\/\/localhost:7001\/management\/lifecycle\/latest\/"
},
{
"rel": "canonical",
"href": "http:\/\/localhost:7001\/management\/lifecycle\/latest\/"
},
{
"rel": "environmentCreateForm",
"href": "http:\/\/localhost:7001\/management\/lifecycle\/latest\/environmentCreateForm"
},
{
"rel": "environments",
"href": "http:\/\/localhost:7001\/management\/lifecycle\/latest\/environments"
},
{
"rel": "runtimeCreateForm",
"href": "http:\/\/localhost:7001\/management\/lifecycle\/latest\/runtimeCreateForm"
},
{
"rel": "runtimes",
"href": "http:\/\/localhost:7001\/management\/lifecycle\/latest\/runtimes"
}
]
}
Back to Top