View This Version Collection

get

/management/lifecycle

The GET method on this resource returns information about each supported version of this REST interface.

Roles

Admin, Deployer, Monitor, Operator

Request

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

The response body returned includes a list of version entities for the supported versions of this REST interface. The returned information includes which version is the latest and whether or not each version is active.

This method can return the following links:

  • rel=current uri=/management/lifecycle/12.2.1.3.0

    Access the latest version of the lifecycle resources in the this domain.

Body ()
Root Schema : Items
Type: array
Title: Items
Show Source
Nested Schema : Version
Type: object
Describes a version of the lifecycle resources.
Show Source
Back to Top

Examples

List Versions

This example uses the GET method to list available versions.

Example Request
curl -v \
--user admin:admin123 \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-X GET http://localhost:7001/management/lifecycle/
Example Response
HTTP/1.1 200 OK
Response Body:
{
    "items": [{
        "links": [
            {
                "rel": "canonical",
                "href": "http:\/\/localhost:7001\/management\/lifecycle\/12.2.1.0"
            },
            {
                "rel": "self",
                "href": "http:\/\/localhost:7001\/management\/lifecycle\/12.2.1.0"
            }
        ],
        "version": "12.2.1.0",
        "isLatest": false,
        "lifecycle": "deprecated"
    },
    {
        "links": [
            {
                "rel": "canonical",
                "href": "http:\/\/localhost:7001\/management\/lifecycle\/12.2.1.3.0"
            },
            {
                "rel": "self",
                "href": "http:\/\/localhost:7001\/management\/lifecycle\/12.2.1.3.0"
            }
        ],
        "version": "12.2.1.3.0",
        "isLatest": true,
        "lifecycle": "active"
    }],
    "links": [
        {
            "rel": "self",
            "href": "http:\/\/localhost:7001\/management\/lifecycle\/"
        },
        {
            "rel": "canonical",
            "href": "http:\/\/localhost:7001\/management\/lifecycle\/"
        },
        {
            "rel": "current",
            "href": "http:\/\/localhost:7001\/management\/lifecycle\/12.2.1.3.0"
        }
    ]
}
Back to Top