mirror of
https://github.com/coder/coder.git
synced 2026-06-04 05:28:20 +00:00
208ed1efd7
This PR aims to close https://github.com/coder/coder/issues/14913. It expands the golden files for the notifier to include the entire payload serialised as JSON.
28 lines
1.0 KiB
Plaintext
28 lines
1.0 KiB
Plaintext
{
|
|
"_version": "1.1",
|
|
"msg_id": "00000000-0000-0000-0000-000000000000",
|
|
"payload": {
|
|
"_version": "1.1",
|
|
"notification_name": "Workspace Autobuild Failed",
|
|
"notification_template_id": "00000000-0000-0000-0000-000000000000",
|
|
"user_id": "00000000-0000-0000-0000-000000000000",
|
|
"user_email": "bobby@coder.com",
|
|
"user_name": "Bobby",
|
|
"user_username": "bobby",
|
|
"actions": [
|
|
{
|
|
"label": "View workspace",
|
|
"url": "http://test.com/@bobby/bobby-workspace"
|
|
}
|
|
],
|
|
"labels": {
|
|
"name": "bobby-workspace",
|
|
"reason": "autostart"
|
|
},
|
|
"data": null
|
|
},
|
|
"title": "Workspace \"bobby-workspace\" autobuild failed",
|
|
"title_markdown": "Workspace \"bobby-workspace\" autobuild failed",
|
|
"body": "Hi Bobby,\n\nAutomatic build of your workspace bobby-workspace failed.\n\nThe specified reason was \"autostart\".",
|
|
"body_markdown": "Hi Bobby,\n\nAutomatic build of your workspace **bobby-workspace** failed.\n\nThe specified reason was \"**autostart**\"."
|
|
} |