Paralism Node RESTAPI

  1. Home
  2. Docs
  3. Paralism Node RESTAPI
  4. 17. GetNeighborNodes Get detailed information of neighbor nodes discovered by running nodes

17. GetNeighborNodes Get detailed information of neighbor nodes discovered by running nodes

*Example: http://127.0.0.1:8080/GetNeighborNodes

*Return example:

{
  "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