Method implementation to server objects

A method corresponding to a class to which an object belongs can be applied to each TRASSIR object. Use /objects command in order to find out to which class an object belongs to. To request class paramaters use /classes command.

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"
}