Description
Use this API to obtain the information about the devils running in the Dafne Control System. Possible arguments are:
- all: get all devils information;
- comma_separated_devil_list: all requested devils information;
Example Query (ALL DEVILS)
GET Query URI
http://danteweb.lnf.infn.it:8000/devil/getInfo/all
API Response
{ "devilList": [{ "number": 601, "host": "192.168.198.159", "tcpPort": 6342, "vncHost": "192.168.198.159", "vncPort": 5901 }, { "number": 602, "host": "192.168.198.127", "tcpPort": 6342, "vncHost": "192.168.198.127", "vncPort": 5902 }, { ... }, { "number": 723, "host": "192.168.198.130", "tcpPort": 6343, "vncHost": "192.168.198.130", "vncPort": 5923 }] }
Example Query (DEVIL LIST)
GET Query URI
http://danteweb.lnf.infn.it:8000/devil/getInfo/632,646
API Response
{ "devilList": [{ "number": 632, "host": "192.168.198.126", "tcpPort": 6342, "vncHost": "192.168.198.126", "vncPort": 5932 }, { "number": 646, "host": "192.168.198.129", "tcpPort": 6345, "vncHost": "192.168.198.129", "vncPort": 5946 }] }