Skip to content

Commit 5aed681

Browse files
author
NisanthanNanthakumar
authored
feat(alert-rule): Update settings data structure (#4663)
1 parent 15c1e3e commit 5aed681

File tree

1 file changed

+7
-5
lines changed
  • src/docs/product/integrations/integration-platform

1 file changed

+7
-5
lines changed

src/docs/product/integrations/integration-platform/webhooks.mdx

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ actor
109109
'name': 'Sentry',
110110
},
111111
```
112+
112113
<Note>
113114

114115
You cannot set up a custom payload. Instead, we suggest setting up a server/service that proxies our webhook into a request that fits your use case.
@@ -227,7 +228,6 @@ The following two fields are for [Alert Rule Action UI Components](/product/inte
227228
- type: object
228229
- description: the saved configurations for routing the alert within the external service
229230

230-
231231
#### Payload
232232

233233
```json
@@ -440,9 +440,12 @@ The following two fields are for [Alert Rule Action UI Components](/product/inte
440440
"triggered_rule": "Very Important Alert Rule!"
441441
"issue_alert": {
442442
"title": "Very Important Alert Rule!",
443-
"settings": {
444-
"channel": "#general",
445-
}
443+
"settings": [
444+
{
445+
"name":"channel",
446+
"value": "#general"
447+
}
448+
]
446449
}
447450
},
448451
"installation": {
@@ -508,7 +511,6 @@ The following field is for [Alert Rule Action UI Components](/product/integratio
508511
- type: object
509512
- description: the saved configuration for routing the alert within the external service
510513

511-
512514
#### Payload
513515

514516
<Note>

0 commit comments

Comments
 (0)