Method implementation to server objects

You can apply a method to each server object that corresponds to the class that the object belongs to. To find out which class the object belongs to, use the command /objects. To query class parameters, use the command /classes.

Method call example:

        https://192.168.1.200:8080/objects/operatorgui_CyPy6vF5/change_view_settings?name=opts_common_show_channel_name&value=1&sid=gbnVFUit  

Request contains:

  • operatorgui_CyPy6vF5 - is an object which belongs to "OperatorGUI" class (operator's interface) in this example;
  • change_view_settings - is a method of "OperatorGUI" class changing form settings of a displayed channel;
  • name=opts_common_show_channel_name - is a method changing parameter, in this example - channel name display;
  • value=1 - value assigned to a parameter.

Example of a server response:

{
    "success" : "1"
}