Ombi/src/Ombi.Api.Webhook/IWebhookApi.cs
Namaneo 8ae98c91c1 Minor updates related to Github's comments
* Access-Token Header is not sent if it has not been configured (or left blank)
* Access token is now also sent in URI string with "token" as key
* NotificationType is manually added to the notification data (original data is cloned before to avoid conflict in case of re-usage by other notification handlers)
2019-11-30 18:18:33 +01:00

10 lines
244 B
C#

using System.Collections.Generic;
using System.Threading.Tasks;
namespace Ombi.Api.Webhook
{
public interface IWebhookApi
{
Task PushAsync(string endpoint, string accessToken, IDictionary<string, string> parameters);
}
}