...
remember to mount this folder and adjust paths inside dafnews/utils/devil_parser.py
API List
getConnInfo/<devils>
Description
Use this API to obtain the IP and the TCP_PORT where the DEVILs, specified in the <devils> comma separated list, are listening for connection.
Call Method
GET
Example Query
http://danteweb.lnf.infn.it:8000/getConnInfo/632,651,699
returns
Code Block | ||
---|---|---|
| ||
[{
"number": 632,
"host": "192.168.198.126",
"tcp_port": 6342
}, {
"number": 651,
"host": "192.168.198.128",
"tcp_port": 6342
}, {
"number": 699,
"host": "192.168.198.114",
"tcp_port": 6343
}] |