Queries clusters.
Operation description
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request syntax
GET /openapi/ha3/instances/{instanceId}/clusters
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
instanceId | string | Yes | The instance ID. | ha-cn-zvp2jlr2g03 |
Response parameters
Examples
Sample success responses
JSON
format
{
"requestId": "F43E8AB4-419C-5F4C-90D6-615590DFAA3C",
"result": [
{
"name": "ha-cn-7pp2pcna701_qrs",
"description": "fzz_test",
"currentAdvanceConfigVersion": "\" \"",
"latestAdvanceConfigVersion": "\" \"",
"currentOnlineConfigVersion": "\" \"",
"latestOnlineConfigVersion": "\" \"",
"currentOnlineQueryConfigVersion": "ha-cn-pl32rf0****_offline_adv_v1",
"latestOnlineQueryConfigVersion": "ha-cn-pl32rf0****_offline_adv_v1",
"currentOfflineDictConfigVersion": "ha-cn-pl32rf0****_offline_adv_v1",
"latestOfflineDictConfigVersion": "ha-cn-pl32rf0****_offline_adv_v1",
"configUpdateTime": "\" \"",
"status": "\"starting\"",
"queryNode": {
"name": "test_0704",
"number": 1,
"partition": 0
},
"dataNode": {
"name": "ha-cn-8ed2k7brm05_qrs",
"number": 1,
"partition": 0
},
"createTime": "2024-05-21 16:05:26",
"config": {
"key": {
"key": {
"name": "ha-cn-pl32rf0****_offline_adv_v1",
"updateTime": "2024-05-21 16:05:26",
"desc": ""
}
}
}
}
]
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|---|---|
2024-05-16 | The response structure of the API has changed | View Change Details |
2022-01-12 | Add Operation | View Change Details |