Skip to content

Commit 23addbf

Browse files
author
Alencar Souza
committed
feature(schemas) Upgrade Uptime Kuma API version
1 parent 2402078 commit 23addbf

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

app/schemas/monitor.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ class Monitor(BaseModel):
1515
upsideDown: bool = False
1616
notificationIDList: Optional[List] = None
1717

18+
# HTTP JSON-QUERY
19+
expectedValue: Optional[str] = None
20+
jsonPath: Optional[str] = None
21+
1822
# HTTP KEYWORD
1923
url: Optional[str] = None
2024
expiryNotification: bool = False

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ version: "3.9"
22
services:
33
kuma:
44
container_name: uptime-kuma
5-
image: louislam/uptime-kuma:1.19.6
5+
image: louislam/uptime-kuma:1.23.2
66
ports:
77
- "3001:3001"
88
restart: always

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ sniffio==1.3.0
2828
starlette==0.20.4
2929
tortoise-orm==0.19.2
3030
typing_extensions==4.4.0
31-
uptime-kuma-api==0.13.0
31+
uptime-kuma-api==1.2.1
3232
urllib3==1.26.12
3333
uvloop==0.17.0
3434
watchfiles==0.17.0

0 commit comments

Comments
 (0)