Documentation for Intellect 4.9.8. Documentation for other versions of Intellect is available too.

Skip to end of metadata
Go to start of metadata

Connection is not lost and events are always received.

action – type of event. Possible values: create, delete, update.

The fields below are optional:

objectId  - id of object that is the source of event (always with update, delete, create).

state – id of a new object state (always with create. If the state has not changed, then there is no update state).

x, y  – new coordinates (if changed).

Query:

http://example.com:[port][/somecontext]/secure/feed/

Samples of response:

<message>
    <action>update</action>
    <objectId>CAM:1</objectId>
    <state>disconnected</state>
</message>
 
<message>
    <action>state</action>
    <objectId>CAM:1</objectId>
    <x>10.0</x>
    <y>123.9</y>
</message>
 
<message>
    <action>state</action>
    <objectId>CAM:1</objectId>
    <state>connected</state>
    <x>300.8</x>
    <y>670</y>
</message>
 
<message>
    <action>state</action>
    <objectId>CAM:1</objectId>
    <x>100</x>
    <y>100</y>
</message>
 
<message>
    <action>ping</action>
</message>
  • No labels