View This Partition

get

/management/lifecycle/{version}/environments/{environment}/runtimes/{runtime}/partitions/{partition}

The GET method on this resource returns information about the partition identified by the resource URL.

Roles

Admin, Deployer, Monitor, Operator

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

The response body contains information about the specified partition.
Body ()
Root Schema : Environment Partition
Type: object
Includes the name and runtime name, and represents a logical partition added to the environment.
Show Source
Back to Top

Examples

Displaying Information About a Partition

This example uses the GET method to display information about a specific partition.

Example Request
curl -v \
--user username:password \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-X GET http://localhost:7001/management/lifecycle/latest/environments/sprite/runtimes/WLSRuntime/partitions/SpritePartition
Example Response
HTTP/1.1 200 OK
Response Body:
{
    "runtimeName": "WLSRuntime",
    "name": "SpritePartition",
    "links": [
        {
            "rel": "parent",
            "href": "http:\/\/localhost:7001\/management\/lifecycle\/latest\/environments\/sprite\/partitions"
        },
        {
            "rel": "self",
            "href": "http:\/\/localhost:7001\/management\/lifecycle\/latest\/environments\/sprite\/runtimes\/WLSRuntime\/partitions\/SpritePartition"
        },
        {
            "rel": "canonical",
            "href": "http:\/\/localhost:7001\/management\/lifecycle\/latest\/environments\/sprite\/runtimes\/WLSRuntime\/partitions\/SpritePartition"
        }
    ]
}
Back to Top