Request for the TRASSIR object tree

All the devices that exist in the system are represented as an object tree. Use the /objects/ command to get it. Note the "/" at the end; it is required.

Example of a request:

        https://192.168.1.200:8080/objects/?sid=gbnVFUit  

Example of a server response:

[
    {
        "name" : "Control post",
        "guid" : "MBZZ3Y3o",
        "class" : "Channel",
        "parent" : "shMa536E"
    },
    {
        "name" : "a-maltsev",
        "guid" : "UQS60Nr1",
        "class" : "Server",
        "parent" : ""
    },
    {
        "name" : "Operator a-maltsev's interface",
        "guid" : "operatorgui_UQS60Nr1",
        "class" : "OperatorGUI",
        "parent" : "UQS60Nr1"
    },
    {
        "name" : "DS-2CD8153F-E",
        "guid" : "shMa536E",
        "class" : "IP Device",
        "parent" : "UQS60Nr1"
    },
    {
        "name" : "2x2",
        "guid" : "JM07fBTb",
        "class" : "Template",
        "parent" : "operatorgui_UQS60Nr1"
    }
] 

Table 98. 

Properties Values Description TRASSIR version
"name"   System object name. ≥3.2
"guid"   Unique object identifier. ≥3.2
"class"

"Server" - class of connected servers

"IP Device" - class of IP-devices

"Channel" - class of channels

"OperatorGUI" - class of operator's interface

"Template" - class of templates

etc.

The class to which the object belongs defines the possible object parameters and statuses. ≥3.2
"parent"  

Shows relations between the objects.

In the given example the Control post channel object belongs to DS-2CD8153F-E IP-camera object, which belongs to a-maltsev server object.

≥3.2