on_success
- called when a data log item is successfully processed (created, updated…).on_validation
- called when a data log item about to be validated (before it is processed), and can be used to enrich/transform/reject the data item.on_success
data hook is called, Rimdian will send a POST request to your app webhook_endpoint
with the following payload:
user
object will be included if the data log item is associated with a user.
The data_log_item
is the JSON-escaped string value of the item sent to the Collector.
is_done
as false
will cause the data hook to be retried.
on_validation
data hook is called, Rimdian will send a POST request to your app webhook_endpoint
with the following payload:
data_log_item
is the JSON-escaped string value of the item sent to the Collector.
updated_item
field should be a JSON string and not a JSON object.200 OK
status code with an empty body to accept the data.