How can i get the neighbour nodes information?

How can i get the neighbour nodes information through ReST API, I’m not able to find the API for the same?

Assume 4 Nodes (A,B,C and D) are connected in my topology.

A->B->C->D, B->D.

Now i want to know the information, How many neighbour are there for the Node B (3)? and who is the neighbour for B (which is A,C,D).

As far as I know the enlinkd information isn’t exposed via REST, but there is work in progress to make it so: https://issues.opennms.org/browse/NMS-12941

Is there any other way to detect the neighbour’s node information?