webhook templates
This commit is contained in:
65
app/web/templates/webhook_presets/presets.json
Normal file
65
app/web/templates/webhook_presets/presets.json
Normal file
@@ -0,0 +1,65 @@
|
||||
[
|
||||
{
|
||||
"id": "default_json",
|
||||
"name": "Default JSON (Current Format)",
|
||||
"description": "Standard webhook payload format matching the current implementation",
|
||||
"format": "json",
|
||||
"content_type": "application/json",
|
||||
"file": "default_json.j2",
|
||||
"category": "general"
|
||||
},
|
||||
{
|
||||
"id": "custom_json",
|
||||
"name": "Custom JSON",
|
||||
"description": "Flexible custom JSON format with configurable title, message, and priority fields",
|
||||
"format": "json",
|
||||
"content_type": "application/json",
|
||||
"file": "custom_json.j2",
|
||||
"category": "general"
|
||||
},
|
||||
{
|
||||
"id": "gotify",
|
||||
"name": "Gotify",
|
||||
"description": "Optimized for Gotify push notification server with markdown support",
|
||||
"format": "json",
|
||||
"content_type": "application/json",
|
||||
"file": "gotify.j2",
|
||||
"category": "service"
|
||||
},
|
||||
{
|
||||
"id": "ntfy",
|
||||
"name": "Ntfy",
|
||||
"description": "Simple text format for Ntfy pub-sub notification service",
|
||||
"format": "text",
|
||||
"content_type": "text/plain",
|
||||
"file": "ntfy.j2",
|
||||
"category": "service"
|
||||
},
|
||||
{
|
||||
"id": "slack",
|
||||
"name": "Slack",
|
||||
"description": "Rich Block Kit format for Slack webhooks with visual formatting",
|
||||
"format": "json",
|
||||
"content_type": "application/json",
|
||||
"file": "slack.j2",
|
||||
"category": "service"
|
||||
},
|
||||
{
|
||||
"id": "discord",
|
||||
"name": "Discord",
|
||||
"description": "Embedded message format for Discord webhooks with color-coded severity",
|
||||
"format": "json",
|
||||
"content_type": "application/json",
|
||||
"file": "discord.j2",
|
||||
"category": "service"
|
||||
},
|
||||
{
|
||||
"id": "plain_text",
|
||||
"name": "Plain Text",
|
||||
"description": "Simple plain text format for logging or basic notification services",
|
||||
"format": "text",
|
||||
"content_type": "text/plain",
|
||||
"file": "plain_text.j2",
|
||||
"category": "general"
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user