獲取redis節點名列表
更新時間 2025-10-17 14:30:11
最近更新時間: 2025-10-17 14:30:11
分享文章
接口功能介紹
獲取redis節點名列表
接口約束
無
URI
GET /v1/instanceManageMgrServant/getRedisNodeList
路徑參數 無
Query參數
| 參數 | 是否必填 | 參數類型 | 說明 | 示例 | 下級對象 |
|---|---|---|---|---|---|
| prodInstId | 是 | String | 實例ID | 873894303586321408 |
請求參數
請求頭header參數 無
請求體body參數 無
響應參數
| 參數 | 參數類型 | 說明 | 示例 | 下級對象 |
|---|---|---|---|---|
| code | String | 響應碼描述 | core.ok | |
| returnObj | Object | 響應對象 | returnObj | |
| message | String | 響應信息 | success | |
| statusCode | Integer | 響應狀態碼 | 800 | |
| 表 returnObj |
| 參數 | 參數類型 | 說明 | 示例 | 下級對象 |
|---|---|---|---|---|
| total | Integer | 數量 | 4 | |
| rows | String | 節點集合 | rows | |
| 表 rows |
| 參數 | 參數類型 | 說明 | 示例 | 下級對象 |
|---|---|---|---|---|
| nodeName | String | redis節點名 | redisSet_865194359228728320_20452 |
枚舉參數
無
請求示例
請求url
無
請求頭header
{}
請求體body
1
響應示例
{
"code": "core.ok",
"returnObj": {
"total": 4,
"rows": [{
"nodeName": "redisSet_873894303586321408_25436"
}, {
"nodeName": "redisSet_873894303586321408_25420"
}, {
"nodeName": "redisSet_873894303586321408_25404"
}, {
"nodeName": "redisSet_873894303586321408_25388"
}
]
},
"message": "success",
"statusCode": 800
}
狀態碼
請參考
錯誤碼
請參考