events: fix missing send_once param from api
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
bffa51f7df
commit
a52b57cc38
|
@ -36,6 +36,7 @@ class NotificationTransportSerializer(ModelSerializer):
|
||||||
"mode",
|
"mode",
|
||||||
"mode_verbose",
|
"mode_verbose",
|
||||||
"webhook_url",
|
"webhook_url",
|
||||||
|
"send_once",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -15203,6 +15203,11 @@ definitions:
|
||||||
webhook_url:
|
webhook_url:
|
||||||
title: Webhook url
|
title: Webhook url
|
||||||
type: string
|
type: string
|
||||||
|
send_once:
|
||||||
|
title: Send once
|
||||||
|
description: Only send notification once, for example when sending a webhook
|
||||||
|
into a chat channel.
|
||||||
|
type: boolean
|
||||||
NotificationTransportTest:
|
NotificationTransportTest:
|
||||||
description: Notification test serializer
|
description: Notification test serializer
|
||||||
required:
|
required:
|
||||||
|
|
Reference in New Issue