@@ -154,33 +154,33 @@ Here is an example payload for Coder's webhook notification:
154
154
155
155
``` json
156
156
{
157
- "_version" : " 1.0" ,
158
- "msg_id" : " 88750cad-77d4-4663-8bc0-f46855f5019b" ,
159
- "payload" : {
160
- "_version" : " 1.0" ,
161
- "notification_name" : " Workspace Deleted" ,
162
- "user_id" : " 4ac34fcb-8155-44d5-8301-e3cd46e88b35" ,
163
- "user_email" : " danny@coder.com" ,
164
- "user_name" : " danny" ,
165
- "user_username" : " danny" ,
166
- "actions" : [
167
- {
168
- "label" : " View workspaces" ,
169
- "url" : " https://et23ntkhpueak.pit-1.try.coder.app/workspaces"
170
- },
171
- {
172
- "label" : " View templates" ,
173
- "url" : " https://et23ntkhpueak.pit-1.try.coder.app/templates"
174
- }
175
- ],
176
- "labels" : {
177
- "initiator" : " danny" ,
178
- "name" : " my-workspace" ,
179
- "reason" : " initiated by user"
180
- }
181
- },
182
- "title" : " Workspace \" my-workspace\" deleted" ,
183
- "body" : " Hi danny\n\n Your workspace my-workspace was deleted.\n The specified reason was \" initiated by user (danny)\" ."
157
+ "_version" : " 1.0" ,
158
+ "msg_id" : " 88750cad-77d4-4663-8bc0-f46855f5019b" ,
159
+ "payload" : {
160
+ "_version" : " 1.0" ,
161
+ "notification_name" : " Workspace Deleted" ,
162
+ "user_id" : " 4ac34fcb-8155-44d5-8301-e3cd46e88b35" ,
163
+ "user_email" : " danny@coder.com" ,
164
+ "user_name" : " danny" ,
165
+ "user_username" : " danny" ,
166
+ "actions" : [
167
+ {
168
+ "label" : " View workspaces" ,
169
+ "url" : " https://et23ntkhpueak.pit-1.try.coder.app/workspaces"
170
+ },
171
+ {
172
+ "label" : " View templates" ,
173
+ "url" : " https://et23ntkhpueak.pit-1.try.coder.app/templates"
174
+ }
175
+ ],
176
+ "labels" : {
177
+ "initiator" : " danny" ,
178
+ "name" : " my-workspace" ,
179
+ "reason" : " initiated by user"
180
+ }
181
+ },
182
+ "title" : " Workspace \" my-workspace\" deleted" ,
183
+ "body" : " Hi danny\n\n Your workspace my-workspace was deleted.\n The specified reason was \" initiated by user (danny)\" ."
184
184
}
185
185
```
186
186
@@ -250,13 +250,13 @@ To resume sending notifications, execute
250
250
If notifications are not being delivered, use the following methods to
251
251
troubleshoot:
252
252
253
- 1 . Ensure notifications are being added to the ` notification_messages ` table
254
- 2 . Review any error messages in the ` status_reason ` column, should an error
253
+ 1 . Ensure notifications are being added to the ` notification_messages ` table
254
+ 2 . Review any error messages in the ` status_reason ` column, should an error
255
255
have occurred
256
- 3 . Review the logs (search for the term ` notifications ` ) for diagnostic
256
+ 3 . Review the logs (search for the term ` notifications ` ) for diagnostic
257
257
information<br > _ If you do not see any relevant logs, set
258
258
` CODER_VERBOSE=true ` or ` --verbose ` to output debug logs_
259
- 4 . If you are on version 2.15.x, notifications must be enabled using the
259
+ 4 . If you are on version 2.15.x, notifications must be enabled using the
260
260
` notifications `
261
261
[ experiment] ( https://coder.com/docs/contributing/feature-stages#experimental-features ) .
262
262
Notifications are enabled by default starting in v2.16.0.
0 commit comments