You are here

Querying for Post Office nodes...

6 posts / 0 new
Last post
VA7YAA
Querying for Post Office nodes...
Greetings,

I'm investigating adding support for AREDN to WoAD, a Winlink client for Android devices (woad.sumusltd.com).
Currently I'm working on querying for the list of nodes running a Telnet Post Office (RMS Relay).

In another forum post (https://www.arednmesh.org/content/service-discovery-dns-sd) from a couple of years ago it was recommended to use http://localnode.local.mesh:8080/cgi-bin/api?mesh=services for this. I was wondering if this is still the case, or if this might have changed in the interim.

Any advise would be much appreciated. And if anyone could send the results of such a query for testing purposes that would be gratefully received.

All the best,

Andrew
VA7YAA

 
nc8q
nc8q's picture
http://localnode.local.mesh:8080/cgi-bin/api?mesh=services
Pass: Stable 3.24.10.0
Fail: Nightly 20241202

 
AB7PA
The api is sysinfo.json
The api is sysinfo.json and can be reached via URL like this:

http://localnode.local.mesh/cgi-bin/sysinfo.json?services=1

The various options are documented here:
https://docs.arednmesh.org/en/latest/arednHow-toGuides/devtools.html
 
nc8q
nc8q's picture
Test for Winlink RMSs
curl http://localnode.local.mesh:8080/cgi-bin/sysinfo.json?services=1|jq '.'|grep -A 600 services|grep -B 1 -A 3 name|grep -B 1 -A 3 Winlink|grep '"link"'

or

curl http://w6bi-shack-node.local.mesh:8080/cgi-bin/sysinfo.json?services=1|jq '.'|grep -A 464 services|grep -B 1 -A 3 name|grep -B 1 -A 3  Winlink|grep '"link"'

 
w6bi
w6bi's picture
API
The legacy AREDN API has been removed from the code.  All of the information it contained, and more are now in the sysinfo.json file:  http://localnode/cgi-bin/sysinfo.json
Orv W6BI
 
VA7YAA
Many thanks for the responses
Many thanks for the responses. I'll work on querying http://localnode.local.mesh/cgi-bin/sysinfo.json?services=1 for the required info.

Theme by Danetsoft and Danang Probo Sayekti inspired by Maksimer