Commit 7922352
sethgrid
Multiple Webhook Support
SendGrid now allows for multiple webhooks and this PR pulls in the non-breaking API changes to support it.
Webhook resources will now take an ID parameter to target specific webhooks. When a webhook resource is NOT
used with an ID, the API falls back to legacy behavior assuming there is only one webhook, and this defaults
to the oldest webhook available. Users should update their services to reference webhooks by ID.1 parent 2fe1459 commit 7922352
2 files changed
Lines changed: 26 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
196 | 196 | | |
197 | 197 | | |
198 | 198 | | |
199 | | - | |
| 199 | + | |
| 200 | + | |
200 | 201 | | |
201 | 202 | | |
202 | 203 | | |
| |||
205 | 206 | | |
206 | 207 | | |
207 | 208 | | |
208 | | - | |
| 209 | + | |
| 210 | + | |
209 | 211 | | |
210 | 212 | | |
211 | 213 | | |
| |||
214 | 216 | | |
215 | 217 | | |
216 | 218 | | |
| 219 | + | |
217 | 220 | | |
218 | | - | |
| 221 | + | |
| 222 | + | |
219 | 223 | | |
220 | 224 | | |
221 | 225 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1992 | 1992 | | |
1993 | 1993 | | |
1994 | 1994 | | |
| 1995 | + | |
1995 | 1996 | | |
1996 | | - | |
| 1997 | + | |
1997 | 1998 | | |
1998 | 1999 | | |
1999 | 2000 | | |
2000 | | - | |
| 2001 | + | |
| 2002 | + | |
| 2003 | + | |
| 2004 | + | |
2001 | 2005 | | |
| 2006 | + | |
2002 | 2007 | | |
2003 | 2008 | | |
| 2009 | + | |
| 2010 | + | |
| 2011 | + | |
| 2012 | + | |
| 2013 | + | |
| 2014 | + | |
| 2015 | + | |
| 2016 | + | |
| 2017 | + | |
| 2018 | + | |
| 2019 | + | |
2004 | 2020 | | |
2005 | 2021 | | |
2006 | 2022 | | |
2007 | 2023 | | |
| 2024 | + | |
2008 | 2025 | | |
2009 | 2026 | | |
2010 | 2027 | | |
| |||
0 commit comments