Files
coder/coderd/notifications/testdata/rendered-templates/webhook/TemplateUserAccountActivated.json.golden
T

31 lines
1.1 KiB
Plaintext

{
"_version": "1.1",
"msg_id": "00000000-0000-0000-0000-000000000000",
"payload": {
"_version": "1.2",
"notification_name": "User account activated",
"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 accounts",
"url": "http://test.com/deployment/users?filter=status%3Aactive"
}
],
"labels": {
"account_type": "user",
"activated_account_name": "bobby",
"activated_account_user_name": "William Tables",
"initiator": "rob"
},
"data": null,
"targets": null
},
"title": "User account \"bobby\" activated",
"title_markdown": "User account \"bobby\" activated",
"body": "User account bobby has been activated.\n\nThe account belongs to William Tables and it was activated by rob.",
"body_markdown": "User account **bobby** has been activated.\n\nThe account belongs to **William Tables** and it was activated by **rob**."
}