Would be nice to have some documentation on the Webhook Request Body Template Language. What language it is, how to use it, some example and potential pitfalls.
@oxzi was kind enough to provide me with this example, which help understanding how I use the Request Body Template field:
Would be nice to have some documentation on the Webhook Request Body Template Language. What language it is, how to use it, some example and potential pitfalls.
@oxzi was kind enough to provide me with this example, which help understanding how I use the Request Body Template field:
{"action": "update-incident", "id": {{.Incident.Id}}, "severity": "{{.Incident.Severity}}", "msg": {{json .Event.Message}}, "tags": {{json .Object.Tags}}}