Versions Compared

Key

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

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)

Code Block
languagetext
titleGET Query URI
http://danteweb.lnf.infn.it:8000/devil/getInfo/all

...

Code Block
languagejs
titleAPI 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
languagetext
titleGET Query URI
http://danteweb.lnf.infn.it:8000/devil/getInfo/632,646

...