Request for server events

Example of a request:

        https://192.168.1.200:8080/events?sid=zxRc8Y7w  

Example of a server response:

[
    {
        "timestamp" : "1393398252126919",
        "type" : "Motion Start",
        "origin" : "bN8mjs2L"
    },
    {
        "timestamp" : "1393398252201923",
        "type" : "Motion Stop",
        "origin" : "bN8mjs2L"
    },
    {
        "timestamp" : "1393398259196323",
        "type" : "Smoke Detected",
        "origin" : "yAdY84gR"
    },
    {
        "timestamp" : "1393398261689466",
        "type" : "Object Size Alarm",
        "origin" : "FRi0Xbcb"
    },
    {
        "timestamp" : "1393398263778585",
        "type" : "Smoke Stopped",
        "origin" : "yAdY84gR"
    },
    {
        "timestamp": "1571919747381928",
        "type": "Login Successful, %1 from %2",
        "origin": "fFa27WVD",
        "username": "Admin",
        "ip_address": "localhost"
    },
    {
        "timestamp": "1571919747382135",
        "type": "Connected To %1 under %2",
        "origin": "fFa27WVD",
        "server_address": "EXP-US-H6 (172.16.13.85)",
        "under_username": "Admin"
    }
]  

Table 101. 

Properties Values Description TRASSIR version
"timestamp"   The time when the event occurred. ≥3.2
"type" "Signal Lost", "Object Size Alarm", "Motion Start", "No Connection to Cloud" etc. Event type. ≥3.2
"origin"   GUID of object to which the event is related. ≥3.2
"server_address"   Name or IP address of the server on which the event occurred. ≥3.2
"under_username"   User name authorized on the remote server. ≥3.2
"username"   User name authorized on local server. ≥3.2
"ip_address"   Local server IP address on which the event occurred. ≥3.2

Tip

The response time is indicated in microseconds in UNIX-time format according to time zone configured on the server.