caronc / apprise-api

A lightweight REST framework that wraps the Apprise Notification Library
https://hub.docker.com/r/caronc/apprise
MIT License
580 stars 50 forks source link

Event result (webhooks) #101

Closed MyWay closed 9 months ago

MyWay commented 1 year ago

Would it be possible to add support for events? E.g. after a request has been handled by apprise, we could receive a webhook event with the result, if configured.

caronc commented 1 year ago

Seems like a good idea

caronc commented 1 year ago

What kind of information do you expect to find within the payload of this webhook?

MyWay commented 1 year ago

What about a status and, in case it failed, an error message?

caronc commented 9 months ago

I made a lot of progress on this. The test cases are currently failing on the Apprise-API version only because it depends on some enhancements made the underlining Apprise library.

Once those are pushed into the next official release, the tests cases here will pass and you'll have your web-hook support. I'll leave this ticket open until things are ready to go.

caronc commented 9 months ago

Merged; Apprise v1.6.0 was released. If you us :latest you'll get this new enhancement. But i'll do an Apprise API official release shortly too to update the main build.

Closing this issue off as done :rocket: