ListInstallableGateways
Retrieves gateways on which a plugin can be installed.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
apig:ListInstallableGateways |
none |
*All Resource
|
None | None |
Request syntax
GET /v1/plugin-classes/{pluginClassId}/installable-gateways HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| pluginClassId |
string |
No |
The plugin class ID. This is a path parameter and cannot be empty. The plugin class must exist. |
pc-xxxx |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| pageNumber |
integer |
No |
The page number. |
1 |
| pageSize |
integer |
No |
The number of entries per page. |
10 |
| gatewayType |
string |
No |
The gateway type used for filtering. Valid values:
|
AI |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| requestId |
string |
Id of the request |
019FA163-3664-5D34-81D1-5FFFC94AD7D5 |
| code |
string |
The response status code. |
200 |
| message |
string |
The response message. |
success |
| data |
object |
The response data. |
|
| pageNumber |
string |
The page number. |
1 |
| pageSize |
string |
The page size. |
10 |
| totalSize |
string |
The total number of entries. |
43 |
| items |
array<object> |
The list of gateways. |
|
|
object |
The list of gateways. |
||
| gatewayId |
string |
The gateway ID. |
gw-xxxx |
| name |
string |
The gateway name. |
my-gateway |
| installable |
boolean |
Indicates whether the plugin can be installed on the gateway. |
true |
| engineVersion |
string |
The database engine version of the gateway DPI engine. |
2.1.10 |
| gatewayPhase |
string |
The gateway status. The value is passed through from the GatewayPhase enumeration, such as Running or Creating. |
Running |
| installableFalseReasonType |
string |
The reason why the plugin cannot be installed. Valid values:
|
VERSION_NOT_MATCH |
| installedPluginVersion |
string |
The version number of another version of the same plugin class that is already installed on the gateway. |
1.0.0 |
Examples
Success response
JSON format
{
"requestId": "019FA163-3664-5D34-81D1-5FFFC94AD7D5",
"code": "200",
"message": "success",
"data": {
"pageNumber": "1",
"pageSize": "10",
"totalSize": "43",
"items": [
{
"gatewayId": "gw-xxxx",
"name": "my-gateway",
"installable": true,
"engineVersion": "2.1.10",
"gatewayPhase": "Running",
"installableFalseReasonType": "VERSION_NOT_MATCH",
"installedPluginVersion": "1.0.0"
}
]
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.