Help Center/ ServiceStage/ API Reference (ME-Abu Dhabi Region)/ Application Management APIs/ Meta/ Obtaining All Supported Runtimes of Application Components
Updated on 2023-06-25 GMT+08:00

Obtaining All Supported Runtimes of Application Components

Function

This API is used to obtain all supported runtimes of application components.

URI

GET /v2/{project_id}/cas/metadata/runtimes

Table 1 Path parameters

Parameter

Type

Mandatory

Description

project_id

String

Yes

Tenant's project ID.

Request

Request parameters

None

Response

Response parameters

Table 2 Response parameters

Parameter

Type

Description

runtimes

Array of objects

Runtime parameters. See Table 3.

Table 3 runtimes parameters

Parameter

Type

Description

type_name

String

Type.

display_name

String

Display name.

container_default_port

Integer

Default container port.

type_desc

String

Type description.

Example

Example request

None

Example response

{
    "runtimes": [
        {
            "type_name": "Java8", 
            "display_name": "Java 8", 
            "container_default_port": 8080, 
            "type_desc": "Java 8 runtime server"
        }
    ]
}

Status Code

Table 4 Status codes

Status Code

Description

200

OK

400

Bad Request

404

Not Found

500

Internal Server Error

Error Code

Error code must be in the format of SVCSTG.00100.[Error_ID]. Example: SVCSTG.00100400. See Error Codes of Application Management APIs.