Stream: troubleshooting

Topic: Notifications from API


view this post on Zulip Sherry Lake (Oct 31 2023 at 20:12):

Is there a way to get a notification that a dataset has been created when creating a dataset via API? If I create a dataset via the UI, I get an e-mail notification. I would like the API to notify me too. - Actually I would like the API (create dataset) to notify all admins of the collection the dataset is added to.

view this post on Zulip Philip Durbin ๐Ÿš€ (Oct 31 2023 at 20:31):

It's a known issue, I'm afraid: notification/email inconsistencies when creating a dataset via API #4043

view this post on Zulip Philip Durbin ๐Ÿš€ (Oct 31 2023 at 20:31):

@Slava Tykhonov would probably suggest adding a database trigger: https://github.com/IQSS/dataverse-docker/tree/master/triggers

view this post on Zulip Philip Durbin ๐Ÿš€ (Oct 31 2023 at 20:33):

via the modularity doc: https://docs.google.com/document/d/1bXzV-cBBYTs5j8bzhdNpKBVfo29qulxue3WAn3Uzvos/edit?usp=sharing

view this post on Zulip Thomas van Erven (Nov 01 2023 at 07:22):

Hooking on to this topic; configurable webhooks upon Dataverse actions or an event stack endpoint on the API would be absolutely amazing.

view this post on Zulip Thomas van Erven (Nov 01 2023 at 07:27):

Use case here is that we plan to move to object storage, but unfortunately, the vendor that we intend to use has a file size limit that's quite low. There's a number of approaches I've offered, but the option I plan to push for is to perform the move sneakily (automagically isolate files smaller than the limit at predetermined interval (say, cron), copy them to object storage, update DV's database to point it directly). If I had an event stream of a webhook, however, I could handle this much more gracefully by listening specifically to events that would generate when people did stuff in the Dataverse.

view this post on Zulip Thomas van Erven (Nov 01 2023 at 07:33):

(No rush, I can move forward without such a system, and I imagine you have other things lined up first, but it would open up DV to become a central brain in distributed applications, which would be awesome.)

view this post on Zulip Oliver Bertuch (Nov 01 2023 at 08:10):

I don't know where I wrote something about this before, but I definitely talked with people about it at DCM23. My vision here would be a pluggable notification system where mails are just one option, but you can provide others, like Webhooks, Kafka, Rabbit,...

view this post on Zulip Philip Durbin ๐Ÿš€ (Nov 01 2023 at 12:13):

Hmm, great ideas. Please go ahead and create issues for these!


Last updated: Oct 30 2025 at 05:14 UTC