Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation on Webhook Request Body Template Language #262

Open
martialblog opened this issue Jul 25, 2024 · 0 comments
Open

Documentation on Webhook Request Body Template Language #262

martialblog opened this issue Jul 25, 2024 · 0 comments
Assignees
Labels
doc Documentation related enhancement New feature or request

Comments

@martialblog
Copy link
Member

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}}}

@oxzi oxzi self-assigned this Jul 26, 2024
@oxzi oxzi added enhancement New feature or request doc Documentation related labels Jul 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doc Documentation related enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants