The spec should allow a configuration to optionally choose which events they want to forward to which endpoints. A service might not be concerned with all kinds of events, and as the project grows, quite a few events could exist.
Something like the following:
[[integrations.webhooks]]
webhooks = "http://localhost:8081/events"
events = [ "onComplete", "onPause" ]
Ideally camelCase, PascalCase, snake_case, and kebab-case would all just work.
The spec should allow a configuration to optionally choose which events they want to forward to which endpoints. A service might not be concerned with all kinds of events, and as the project grows, quite a few events could exist.
Something like the following:
Ideally
camelCase,PascalCase,snake_case, andkebab-casewould all just work.