Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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
languagetext
titleGET Query URI
http://danteweb.lnf.infn.it:8000/devil/getElementList/all

...

Code Block
languagejs
titleAPI Response
{
	"elementList": [{
		"name": "SER19001",
		"devilNumber": 601
	}, {
		"name": "SER19002",
		"devilNumber": 601
	}, {
		...
	}, {
		"name": "DCTPS002",
		"devilNumber": 723
	}]
}


Example Query (ELEMENT LIST)

Code Block
languagetext
titleGET Query URI
http://danteweb.lnf.infn.it:8000/devil/getElementList/SXPES101,SIPPS108,MOVEL2E1

...