[SOLVED] REST API Server-Side-Events documentation

Hi, I’ve been playing with the OH2 REST API for a while. I’ve installed the documentation and it is pretty straightforward and self-explanatory. But what I am missing is some kind of description of the Server-Sent-Events (/rest/events endpoint). There is no mention about it in the documentation nor on the web and the logic of how the events are constructed by OH and their exact meaning is somehow a mystery for me. Can anybody point me to the right place?

Thanks

George

Ok, I am sorry for beeing to rush. I´ve found this article in the docs https://www.openhab.org/docs/developer/utils/events.html. It describes exactly what I´ve needed to know about events. I didn´t realize, that /events endpoint is only another way, how to access OH event bus.

George

1 Like