{"id":621,"date":"2023-07-15T13:11:53","date_gmt":"2023-07-15T05:11:53","guid":{"rendered":"https:\/\/www.paralism.com\/info\/docs\/paralism-node-restapi\/17-getneighbornodes-get-detailed-information-of-neighbor-nodes-discovered-by-running-nodes\/"},"modified":"2023-07-15T13:12:36","modified_gmt":"2023-07-15T05:12:36","slug":"17-getneighbornodes-get-detailed-information-of-neighbor-nodes-discovered-by-running-nodes","status":"publish","type":"docs","link":"https:\/\/www.paralism.com\/info\/docs\/paralism-node-restapi\/17-getneighbornodes-get-detailed-information-of-neighbor-nodes-discovered-by-running-nodes\/","title":{"rendered":"17. GetNeighborNodes Get detailed information of neighbor nodes discovered by running nodes"},"content":{"rendered":"\n<p>*Example: http:\/\/127.0.0.1:8080\/GetNeighborNodes<\/p>\n\n\n\n<p>*Return example:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\r\n  \"NeighborNodes\":&#91;\r\n    {\r\n      \"ap\":&#91;\r\n        {\r\n          \"IP\":\"60.180.146.77\",\r\n          \"port\":27378,\r\n          \"typename\":\"UdpAP\"\r\n        }\r\n      ],\r\n      \"id\":\"0124d2d4db0244779d915327447dce10\"\r\n    },\r\n    {\r\n      \"ap\":&#91;\r\n        {\r\n          \"IP\":\"114.116.101.18\",\r\n          \"port\":9001,\r\n          \"typename\":\"UdpAP\"\r\n        }\r\n      ],\r\n      \"id\":\"0653a9e25b844d6595f8380fc7f6cfa6\"\r\n    },\r\n    {\r\n      \"ap\":&#91;\r\n        {\r\n          \"IP\":\"111.196.78.47\",\r\n          \"port\":1572,\r\n          \"typename\":\"UdpAP\"\r\n        }\r\n      ],\r\n      \"id\":\"09ad39da69484253a48ac416100d0ed0\"\r\n    }\r\n  ],\r\n  \"NeighborNodesNum\":3\r\n}<\/code><\/pre>\n","protected":false},"featured_media":0,"parent":578,"menu_order":16,"comment_status":"open","ping_status":"closed","template":"","doc_tag":[],"class_list":["post-621","docs","type-docs","status-publish","hentry"],"comment_count":0,"_links":{"self":[{"href":"https:\/\/www.paralism.com\/info\/wp-json\/wp\/v2\/docs\/621","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.paralism.com\/info\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/www.paralism.com\/info\/wp-json\/wp\/v2\/types\/docs"}],"replies":[{"embeddable":true,"href":"https:\/\/www.paralism.com\/info\/wp-json\/wp\/v2\/comments?post=621"}],"version-history":[{"count":1,"href":"https:\/\/www.paralism.com\/info\/wp-json\/wp\/v2\/docs\/621\/revisions"}],"predecessor-version":[{"id":622,"href":"https:\/\/www.paralism.com\/info\/wp-json\/wp\/v2\/docs\/621\/revisions\/622"}],"up":[{"embeddable":true,"href":"https:\/\/www.paralism.com\/info\/wp-json\/wp\/v2\/docs\/578"}],"next":[{"title":"18. GetHyperBlocksIDList to obtain the information of the hyperblocks already owned by the running node","link":"https:\/\/www.paralism.com\/info\/docs\/paralism-node-restapi\/18-gethyperblocksidlist-to-obtain-the-information-of-the-hyperblocks-already-owned-by-the-running-node\/","href":"https:\/\/www.paralism.com\/info\/wp-json\/wp\/v2\/docs\/623"}],"prev":[{"title":"16. CreatCustomizeConsonsusScript Create Business Appchain Custom Consensus Script","link":"https:\/\/www.paralism.com\/info\/docs\/paralism-node-restapi\/16-creatcustomizeconsonsusscript-create-business-subchain-custom-consensus-script\/","href":"https:\/\/www.paralism.com\/info\/wp-json\/wp\/v2\/docs\/618"}],"wp:attachment":[{"href":"https:\/\/www.paralism.com\/info\/wp-json\/wp\/v2\/media?parent=621"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/www.paralism.com\/info\/wp-json\/wp\/v2\/doc_tag?post=621"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}