From 7231bc59979df311c9f3771feebbc26659df3a41 Mon Sep 17 00:00:00 2001 From: Nicholas Wallace Date: Sat, 3 Aug 2024 14:58:08 -0700 Subject: [PATCH] Update: notification OpenAPI spec --- docs/objects/Notification.yaml | 2 +- docs/openapi.json | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/objects/Notification.yaml b/docs/objects/Notification.yaml index bb9ce8bda..50299ec8b 100644 --- a/docs/objects/Notification.yaml +++ b/docs/objects/Notification.yaml @@ -22,7 +22,7 @@ components: notificationEventName: type: string description: The name of the event the notification will fire on. - enum: ['onPodcastEpisodeDownloaded', 'onTest'] + enum: ['onPodcastEpisodeDownloaded', 'onBackupCompleted', 'onBackupFailed', 'onTest'] urls: type: array items: diff --git a/docs/openapi.json b/docs/openapi.json index 38e37ee0b..71e636e0e 100644 --- a/docs/openapi.json +++ b/docs/openapi.json @@ -3165,6 +3165,8 @@ "description": "The name of the event the notification will fire on.", "enum": [ "onPodcastEpisodeDownloaded", + "onBackupCompleted", + "onBackupFailed", "onTest" ] },