View This Collection Of Partitions

get

/management/lifecycle/{version}/runtimes/{runtime}/partitions

The GET method on this resource returns a list of partitions for the runtime 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 returned includes a collection of runtime partition entities.

This method can return the following links:

  • rel=create-form uri=/management/lifecycle/{version}/runtimes/{runtime}/partitionCreateForm

Body ()
Root Schema : Items
Type: array
Title: Items
Show Source
Nested Schema : Runtime Partition
Type: object
Includes the name and ID of the partition on a physical runtime. It can also include arbitrary properties.
Show Source
Nested Schema : properties
Type: array
Arbitrary properties passed to a plugin.
Show Source
  • Property
    Holds a named property, where the value can be a String, a confidential String, or a list of Properties.
Nested Schema : Property
Type: object
Holds a named property, where the value can be a String, a confidential String, or a list of Properties.
Show Source
Nested Schema : properties
Type: array
Property Properties value.
Show Source
  • Property
    Holds a named property, where the value can be a String, a confidential String, or a list of Properties.
Nested Schema : values
Type: array
Property String values.
Show Source
  • Property
    Holds a named property, where the value can be a String, a confidential String, or a list of Properties.
Back to Top

Examples

Viewing a List of Partitions

This example uses the GET method to display a list of partitions for a specific runtime.

Example Request
curl -v \
--user username:password \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-X GET http://localhost:7001/management/lifecycle/latest/runtimes/WLSTestRuntime/partitions
Example Response
HTTP/1.1 200 OK
Response Body:
{
    "items": [{
        "links": [
            {
                "rel": "canonical",
                "href": "http:\/\/localhost:7001\/management\/lifecycle\/latest\/runtimes\/WLSRuntime\/partitions\/SpritePartition"
            },
            {
                "rel": "self",
                "href": "http:\/\/localhost:7001\/management\/lifecycle\/latest\/runtimes\/WLSRuntime\/partitions\/SpritePartition"
            }
        ],
        "name": "SpritePartition",
        "id": "429aaa5a-058d-452d-b256-ce874d6e8583"
    }],
    "links": [
        {
            "rel": "parent",
            "href": "http:\/\/localhost:7001\/management\/lifecycle\/latest\/runtimes\/WLSRuntime"
        },
        {
            "rel": "self",
            "href": "http:\/\/localhost:7001\/management\/lifecycle\/latest\/runtimes\/WLSRuntime\/partitions"
        },
        {
            "rel": "canonical",
            "href": "http:\/\/localhost:7001\/management\/lifecycle\/latest\/runtimes\/WLSRuntime\/partitions"
        },
        {
            "rel": "create-form",
            "href": "http:\/\/localhost:7001\/management\/lifecycle\/latest\/runtimes\/WLSRuntime\/partitionCreateForm"
        }
    ]
}
Back to Top