Skip to main content
Version: 1.14.2

Web Sockets

OMNI Platform is able to send the events from OMNI Agent to a third-party service via web sockets.

The instructions below show how to set a web socket connection using the Postman HTTP client:

  1. Download and install Postman.
  2. Select file -> new -> WebSocket in the client interface.
  3. Specify the request URL in the opened tab:
  • ws://$DOMAIN/event-service/identification/ws?access=<your_token> - to transmit identification events via web socket.
  • ws://$DOMAIN/event-service/non_identification/ws?access=<your_token> - to transmit non-identification events via web socket.
  1. The connection is established, events are sent to the server.
note

Since the Platform and Agent data are synchronized on average once per minute, the following situation can occur:

If within an average of 1 minute after deleting a profile from the database, the person, who this profile belonged to, gets into the camera’s field of view, the Agent generates an identification event and sends it to the Platform. Since such a profile no longer exists on the Platform, the Platform cannot send such an event via web socket. Such “lost” events can only be displayed through the GraphQL API of the Platform.