Events

Request avl_evts returns information about events occurred since the moment of last execution of avl_evts.

http://{host}/avl_evts?sid=<text>

:!: You can find an example of this request in the sample Item events management.

Parameters

Name Description
sid session ID

Response

{
	"tm":<uint>,	/* server time */
	"events":[	/* events */
		{
			"i":<long>, 	/* item ID */
			"t":<text>, 	/* event type: m - message, u - update, d - delete */
			"d":{		/* description of event, depends on event type */
				...	
			}
		}
	]
}