Closed fp-big5 closed 6 days ago
Expected. It is not an official api.
The python library should be this: https://github.com/lucasheld/uptime-kuma-api
Hi @louislam
Correct, I'm using the library that you mentioned.
So, just to be clear..
There is no way to manage uptime-kuma v2 programmatically?
π I have found these related issues/pull requests
None
π‘οΈ Security Policy
Description
I've built a python script to read all ingress objects in a kubernetes cluster and update/add them into uptime-kuma.
It is working in kuma:v1, besides having to change the timeout in the python API to over 90 seconds (you know, because it's slow at v1)
So, last week I saw the v2 beta and I'm trying it out.
So far, it's working as expected, BUT..
My script doesn't work anymore, apparently because a new "conditions" field are required:
But it seems that this field is not yet implemented in the API, since it throws this error when I try to pass it:
π Reproduction steps
try to add a new http monitor into uptimekuma:v2
π Expected behavior
To be able to add monitors over the API.
π Actual Behavior
The API throw this error:
SQLITE_CONSTRAINT: NOT NULL constraint failed: monitor.conditions
π» Uptime-Kuma Version
2.0.0-beta.0
π» Operating System and Arch
docker
π Browser
uptime-kuma API
π₯οΈ Deployment Environment
π Relevant log output
No response