Get A Runtime Create Form

get

/management/lifecycle/{version}/runtimeCreateForm

The GET method on this resource returns an empty form for a runtime.

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 fields which must be specified when registering a runtime.

This method can return the following links:

  • rel=runtimes uri=/management/lifecycle/{version}/runtimes

Body ()
Root Schema : Runtime
Type: object
Includes the name, type, host and port for a physical runtime. It can also include arbitrary properties.
Show Source
Nested Schema : properties
Type: array
Arbitrary properties. These may include the username and password that are required to connect to the runtime.
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

Get Runtime Create Form

This example uses the GET method to get the runtime create form.

Example Request
curl -v \
--user admin:admin123 \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-X GET http://localhost:7001/management/lifecycle/latest/runtimeCreateForm
Example Response
HTTP/1.1 200 OK
Response Body:
{
    "name": null,
    "properties": [],
    "type": null,
    "port": null,
    "hostName": null,
    "links": [
        {
            "rel": "parent",
            "href": "http:\/\/localhost:7001\/management\/lifecycle\/latest"
        },
        {
            "rel": "self",
            "href": "http:\/\/localhost:7001\/management\/lifecycle\/latest\/runtimeCreateForm"
        },
        {
            "rel": "canonical",
            "href": "http:\/\/localhost:7001\/management\/lifecycle\/latest\/runtimeCreateForm"
        },
        {
            "rel": "runtimes",
            "href": "http:\/\/localhost:7001\/management\/lifecycle\/latest\/runtimes"
        }
    ]
}
Back to Top