Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Current »

It is possible to open a Websocket to get notified when there are changes in Dataloy data model.

The concept is very similar to Webhooks, it is possible open a socket to be notified for Creation, Update and Deletion of any of object type of the data model.

The endpoint syntax is:

  • ws://{url}/ws/rest/WebSocketObjectSubscription/{objectType}/{eventType}/{key}/{token}

The JSON pushed will have the same structure if the one pushed by Webhooks.

It is possible to customize the JSON sent from the Server to the Client using Adjust Number of Fields to be Returned from a Request.

(The JSON fields can be sent through the open Websocket by the Client to the Server)

(To get back to the standard fields list a empty JSON ( {} ) can be sent from the client to the server)

  • No labels