# What this PR does Add payload field to api/internal/v1/alert_receive_channels/***/preview_template/ POST endpoint ``` curl 'http://localhost:3000/api/plugin-proxy/grafana-oncall-app/api/internal/v1/alert_receive_channels/***/preview_template/' \ -H 'Content-Type: application/json' \ --data-raw '{"template_name":"route_template","template_body":"{{ payload.foo }}", "payload": {"foo": "bar"}}' \ --compressed ``` ## Which issue(s) this PR fixes ## Checklist - [ ] Unit, integration, and e2e (if applicable) tests updated - [ ] Documentation added (or `pr:no public docs` PR label added if not required) - [ ] `CHANGELOG.md` updated (or `pr:no changelog` PR label added if not required) |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| custom_fields.py | ||
| custom_rate_scoped_throttler.py | ||
| exceptions.py | ||
| filters.py | ||
| mixins.py | ||
| optional_slash_router.py | ||
| paginators.py | ||
| utils.py | ||