shrub/pkg/arvo/gen/azimuth-rpc/disconnect.hoon
yosoyubik afd3c9b85e naive: add azimuth rpc api
Currently supports one endpoint 'get-point' that returns Azimuth Point
data (see +point in %/lib/naive.hoon), for a given ship.

To run it:

curl -X POST --data '{
  "jsonrpc": "2.0",
  "method": "get-point",
  "params": {"ship": "~sampel-palnet"},
  "id": 1234
}' http://localhost:8080/v1/azimuth
2021-05-14 07:23:59 +02:00

5 lines
79 B
Plaintext

::
:- %say
|= [* [=binding:eyre ~] ~]
[%azimuth-action %disconnect binding]