Commit Graph
2 Commits
Author SHA1 Message Date
NanamiAdmin a9ff252f45 fix(webhook): update webhook endpoint path to include 'post'
Build / ubuntu-latest (push) Failing after 0s
Build / windows-latest (push) Failing after 1h7m41s
2026-11-01 20:45:50 +08:00
NanamiAdmin 057d7d584d feat: add incoming webhook API support with configurable endpoints
- Implemented the incoming webhook API to handle alerts from external applications.
- Added configuration options for webhook listening address, port, and endpoints in config.go.
- Created WebhookReceiverConfig and WebhookEndpointConfig structures to manage webhook settings.
- Developed WebhookHandler to process incoming requests, validate tokens, and deliver alerts to specified channels.
- Enhanced existing controller interfaces to support alert delivery.
- Updated message rendering to respect Markdown settings for different channels.
- Added tests for webhook functionality and ensured proper error handling.
2026-09-24 11:21:38 +08:00