Description
Use this API to obtain the list of 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)
Code Block |
---|
language | text |
---|
title | GET Query URI |
---|
|
http://danteweb.lnf.infn.it:8000/devil/getDevilListgetInfo/all |
Code Block |
---|
language | js |
---|
title | 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)
Code Block |
---|
language | text |
---|
title | GET Query URI |
---|
|
http://danteweb.lnf.infn.it:8000/devil/getDevilListgetInfo/632,646 |
Code Block |
---|
language | js |
---|
title | 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
}]
} |
...