View This Version

get

/management/weblogic/{version}

View this version.

Note: It also returns links to the resource trees that are used to manage this WebLogic Server domain and its managed servers. The resource trees mimic the bean trees in WLST and allow you to view and edit the configuration and monitor the runtime behavior.

Request

Path Parameters
Query Parameters
  • 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.
  • 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.
Security
Back to Top

Response

Supported Media Types

200 Response

Returns this version.

This method can return the following links:

  • rel=currentUser uri=/management/weblogic/{version}/currentUser
  • rel=domainConfig uri=/management/weblogic/{version}/domainConfig
  • rel=domainRuntime uri=/management/weblogic/{version}/domainRuntime
  • rel=edit uri=/management/weblogic/{version}/edit
  • rel=serverConfig uri=/management/weblogic/{version}/serverConfig
  • rel=serverRuntime uri=/management/weblogic/{version}/serverRuntime
Body ()
Root Schema : Version
Type: object

Describes a version of the WebLogic Server resources.

Show Source
Back to Top

Examples

View the latest version.

This example uses the GET method to display the latest version.

Example Request
curl -v \
--user admin:admin123 \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-X GET http://localhost:7001/management/weblogic/latest
Example Response
HTTP/1.1 200 OK

Response Body:
{
    "links": [
        {
            "rel": "parent",
            "href": "http:\//localhost:7001/management/weblogic"
        },
        {
            "rel": "self",
            "href": "http:\//localhost:7001/management/weblogic/latest"
        },
        {
            "rel": "canonical",
            "href": "http:\//localhost:7001/management/weblogic/latest"
        },
        {
            "rel": "edit",
            "href": "http:\//localhost:7001/management/weblogic/latest/edit"
        },
        {
            "rel": "domainConfig",
            "href": "http:\//localhost:7001/management/weblogic/latest/domainConfig"
        },
        {
            "rel": "domainRuntime",
            "href": "http:\//localhost:7001/management/weblogic/latest/domainRuntime"
        },
        {
            "rel": "serverRuntime",
            "href": "http:\//localhost:7001/management/weblogic/latest/serverRuntime"
        },
        {
            "rel": "serverConfig",
            "href": "http:\//localhost:7001/management/weblogic/latest/serverConfig"
        },
        {
            "rel": "currentUser",
            "href": "http:\//localhost:7001/management/weblogic/latest/currentUser"
        }
    ],
    "version": "12.2.1.4.0",
    "isLatest": true,
    "lifecycle": "active"
}

View a specific version.

This example uses the GET method to display a specific version.

Example Request
curl -v \
--user admin:admin123 \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-X GET http://localhost:7001/management/weblogic/12.2.1.3.0
Example Response
HTTP/1.1 200 OK

Response Body:
{
    "links": [
        {
            "rel": "parent",
            "href": "http:\//localhost:7001/management/weblogic"
        },
        {
            "rel": "self",
            "href": "http:\//localhost:7001/management/weblogic/12.2.1.3.0"
        },
        {
            "rel": "canonical",
            "href": "http:\//localhost:7001/management/weblogic/12.2.1.3.0"
        },
        {
            "rel": "edit",
            "href": "http:\//localhost:7001/management/weblogic/12.2.1.3.0/edit"
        },
        {
            "rel": "domainConfig",
            "href": "http:\//localhost:7001/management/weblogic/12.2.1.3.0/domainConfig"
        },
        {
            "rel": "domainRuntime",
            "href": "http:\//localhost:7001/management/weblogic/12.2.1.3.0/domainRuntime"
        },
        {
            "rel": "serverRuntime",
            "href": "http:\//localhost:7001/management/weblogic/12.2.1.3.0/serverRuntime"
        },
        {
            "rel": "serverConfig",
            "href": "http:\//localhost:7001/management/weblogic/12.2.1.3.0/serverConfig"
        },
        {
            "rel": "currentUser",
            "href": "http:\//localhost:7001/management/weblogic/12.2.1.3.0/currentUser"
        }
    ],
    "version": "12.2.1.3.0",
    "isLatest": false,
    "lifecycle": "deprecated"
}
Back to Top