argo-events icon indicating copy to clipboard operation
argo-events copied to clipboard

Support returning payload response in Webhook EventSource

Open yaariyuval opened this issue 10 months ago • 0 comments

Is your feature request related to a problem? Please describe. I've implemented a webhook EventSource. I'd like to return the event ID as part of the response, so that the caller would be able to keep track of the workflow that gets triggered. Ideally, it should also be possible to return a link to the Argo Workflow dashboard, if possible.

Describe the solution you'd like Allow returning information as part of the webhook response. The Cloud Events spec doesn't specifically touch on this, it only says: "The delivery response MAY contain a payload providing detail status information in the case of handling errors. This specification does not attempt to define such a payload."

Describe alternatives you've considered I've considered implementing a custom EventSource.

Additional context N/A


Message from the maintainers:

If you wish to see this enhancement implemented please add a 👍 reaction to this issue! We often sort issues this way to know what to prioritize.

yaariyuval avatar Aug 28 '23 08:08 yaariyuval