Replies: 1 comment 1 reply
-
Hi, thanks for taking an intrest in the library! Yes, the documentation is pretty short, but you've understood correctly. Your current setting will fire webhooks for the model on the However, this is not the place you should setting the endpoint to fire the webhooks to. Instead, you need to create rows in the database for the signal_webhooks.models.Webhook-model. You can do this either in the admin panel or with the Django REST Framework-viewset (undocumented, but should be easy enough to figure out). Hopefully this helps! |
Beta Was this translation helpful? Give feedback.
-
The documentation is a little sparse in some spots and I was reviewing the code but I don't fully grok how
SIGNAL_WEBHOOKS
is intended to work. Given the following:I believe will only fire off a webhook when configured model is signal is invoked and it is a CREATE new record event. I understand the ellipsis is passing in some sorta of default configuration but what or where is that? What I want to do is define the endpoint that should be used with the webhook.
Beta Was this translation helpful? Give feedback.
All reactions