User Tools

Site Tools


code:json

This is an old revision of the document!


The following commands are available with the JSON API:

change_constraintschange_scriptcmdcnst_altcnst_alt_v
cnst_timeconstscreate_targetdecdevbytype
deviceinfodevicesexecutorexposeget
hasimageinclabellistlabelslastimage
messagesnightobytidplanrunscript
satisfiedscriptselvalsetstatus
sunalttaltitudestbydistancetbyidtbylabel
tbynametbystringtlabs_addtlabs_deletetlabs_set
update_targetviolated

cmd

This can be used to send commands to the different devices in RTS2. For example to observe a target next:

  http://observatoryserver/apipath/cmd?d=EXEC&c=next 8

update_target

This can be used to change values in a target including its coordinates

  http://observatoryserver/apipath/update_target?id=15&ra=34&dec=-23
code/json.1475056252.txt.gz · Last modified: 2016/09/28 00:00 (external edit)