Spaces:
Running
Running
Upload main.py
Browse files
main.py
CHANGED
@@ -611,9 +611,9 @@ def v1beta2_google_ai(
|
|
611 |
|
612 |
@app.post("/ryuzaki/new-monitor")
|
613 |
def new_monitor(
|
614 |
-
url: str,
|
615 |
type: int=1,
|
616 |
-
|
|
|
617 |
api_key: None = Depends(validate_api_key)
|
618 |
):
|
619 |
url = SOURCE_MONITOR_URL
|
|
|
611 |
|
612 |
@app.post("/ryuzaki/new-monitor")
|
613 |
def new_monitor(
|
|
|
614 |
type: int=1,
|
615 |
+
url: str=None,
|
616 |
+
friendly_name: str=None,
|
617 |
api_key: None = Depends(validate_api_key)
|
618 |
):
|
619 |
url = SOURCE_MONITOR_URL
|