Skip to content

Commit 9af09ea

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

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

app/schemas/monitor.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,18 @@
88
class Monitor(BaseModel):
99
type: MonitorType
1010
name: str
11+
description: str
1112
interval: int = 60
1213
retryInterval: int = 60
1314
resendInterval: int = 0
1415
maxretries: int = 0
1516
upsideDown: bool = False
1617
notificationIDList: Optional[List] = None
1718

19+
# HTTP JSON-QUERY
20+
expectedValue: Optional[str] = None
21+
jsonPath: Optional[str] = None
22+
1823
# HTTP KEYWORD
1924
url: Optional[str] = None
2025
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)