forked from DGNum/uptime-kuma-api
feat: add conditions parameter
This commit is contained in:
parent
22ca1813ff
commit
782037348d
1 changed files with 2 additions and 0 deletions
|
@ -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"):
|
||||
|
|
Loading…
Reference in a new issue