1. Home
  2. Docs
  3. Paralism 节点 RESTAPI
  4. 17. GetNeighborNodes 获取运行节点发现的邻居节点详细信息

17. GetNeighborNodes 获取运行节点发现的邻居节点详细信息

* 例子:http://127.0.0.1:8080/GetNeighborNodes

* 返回例子:

{
  "NeighborNodes":[
    {
      "ap":[
        {
          "IP":"60.180.146.77",
          "port":27378,
          "typename":"UdpAP"
        }
      ],
      "id":"0124d2d4db0244779d915327447dce10"
    },
    {
      "ap":[
        {
          "IP":"114.116.101.18",
          "port":9001,
          "typename":"UdpAP"
        }
      ],
      "id":"0653a9e25b844d6595f8380fc7f6cfa6"
    },
    {
      "ap":[
        {
          "IP":"111.196.78.47",
          "port":1572,
          "typename":"UdpAP"
        }
      ],
      "id":"09ad39da69484253a48ac416100d0ed0"
    }
  ],
  "NeighborNodesNum":3
}
Was this article helpful to you? Yes No