Description
Use this API to obtain the list of the elements controlled by the Dafne Control System. Possible arguments are:
- all: get all elements;
- comma_separated_element_list: all requested elements;
Example Query (ALL ELEMENTS)
Code Block |
---|
language | text |
---|
title | GET Query URI |
---|
|
http://danteweb.lnf.infn.it:8000/devil/getElementList/all |
...
Code Block |
---|
language | js |
---|
title | API Response |
---|
|
{
"elementList": [{
"name": "SER19001",
"devilNumber": 601
}, {
"name": "SER19002",
"devilNumber": 601
}, {
...
}, {
"name": "DCTPS002",
"devilNumber": 723
}]
} |
Example Query (ELEMENT LIST)
Code Block |
---|
language | text |
---|
title | GET Query URI |
---|
|
http://danteweb.lnf.infn.it:8000/devil/getElementList/SXPES101,SIPPS108,MOVEL2E1 |
...