You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Current »

Description

Use this API to obtain the information about the elements controlled by the Dafne Control System. Possible arguments are:

  • all: get all elements information;
  • comma_separated_element_list: all requested elements information;

Example Query (ALL ELEMENTS)

GET Query URI
http://danteweb.lnf.infn.it:8000/element/getInfo/all


API Response
{
	"elementList": [{
		"name": "SER19001",
		"devilNumber": 601
	}, {
		"name": "SER19002",
		"devilNumber": 601
	}, {
		...
	}, {
		"name": "DCTPS002",
		"devilNumber": 723
	}]
}


Example Query (ELEMENT LIST)

GET Query URI
http://danteweb.lnf.infn.it:8000/element/getInfo/SXPES101,SIPPS108,MOVEL2E1


API Response
{
	"elementList": [{
		"name": "SXPES101",
		"devilNumber": 606
	}, {
		"name": "SIPPS108",
		"devilNumber": 612
	}, {
		"name": "MOVEL2E1",
		"devilNumber": 689
	}]
}
  • No labels