tranga icon indicating copy to clipboard operation
tranga copied to clipboard

[Enhancement]: Arbitrary REST Notification Webhook

Open ChrislyBear-GH opened this issue 5 months ago • 2 comments

Hello,

I have an idea that could enhance the application:

It would be great if there was a general webhook for notifications available. When a notification has to be sent, it would be nice to be able to send the notification information via a POST request to some other webservice.

The content could be the same as e.g. for Gotify or the other notification services.

I assume the payload would be in JSON, so it would be easy to e.g. integrate these notifications in a Home Assistent instance and react to new downloads. Or (what I'm doing) have NodeRED ingest the notification and do all kinds of stuff!

What configuration is needed for such a new notification type:

  1. A URL (endpoint) to POST to and
  2. Authentication (basic auth (user/pass) or adding a Bearer token to the header)

Again, the payload could be a JSON with the info that is already being exposed through the ither services.

What do you think? Is this something that might enhance the app?

Kind regards, Chris

ChrislyBear-GH avatar Sep 30 '24 16:09 ChrislyBear-GH