Compare commits

...
Sign in to create a new pull request.

1 commit

Author SHA1 Message Date
782037348d
feat: add conditions parameter 2024-12-07 23:45:20 +01:00

View file

@ -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"):