查看当前集群Server列表
GET
/nacos/v1/ns/operator/servers查看当前集群Server列表
Request
Query Params
healthy
string
optional
是否只返回健康Server节点
Request samples
Responses
成功(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
servers
array [object {9}]
required
ip
string
required
servePort
integer
required
site
string
required
weight
integer
required
adWeight
integer
required
alive
boolean
required
lastRefTime
integer
required
lastRefTimeStr
null
required
key
string
required
Example
{
servers: [
{
ip: "1.1.1.1",
servePort: 8848,
site: "unknown",
weight: 1,
adWeight: 0,
alive: false,
lastRefTime: 0,
lastRefTimeStr: null,
key: "1.1.1.1:8848"
},
{
ip: "1.1.1.2",
servePort: 8848,
site: "unknown",
weight: 1,
adWeight: 0,
alive: false,
lastRefTime: 0,
lastRefTimeStr: null,
key: "1.1.1.2:8848"
},
{
ip: "1.1.1.3",
servePort: 8848,
site: "unknown",
weight: 1,
adWeight: 0,
alive: false,
lastRefTime: 0,
lastRefTimeStr: null,
key: "1.1.1.3:8848"
}
]
}
Last modified: 2 年前