From 782037348df18dd32c3904c812c289f3d2d79170 Mon Sep 17 00:00:00 2001 From: Julien Malka Date: Sat, 7 Dec 2024 23:45:20 +0100 Subject: [PATCH] feat: add conditions parameter --- uptime_kuma_api/api.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/uptime_kuma_api/api.py b/uptime_kuma_api/api.py index 2fbd8dc..23f2a95 100644 --- a/uptime_kuma_api/api.py +++ b/uptime_kuma_api/api.py @@ -696,6 +696,7 @@ class UptimeKumaApi(object): upsideDown: bool = False, notificationIDList: list = None, httpBodyEncoding: str = "json", + conditions = "[]", # HTTP, KEYWORD, JSON_QUERY, REAL_BROWSER url: str = None, @@ -808,6 +809,7 @@ class UptimeKumaApi(object): "resendInterval": resendInterval, "description": description, "httpBodyEncoding": httpBodyEncoding, + "conditions": conditions, } if parse_version(self.version) >= parse_version("1.22"):