-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using kuma-client to create a status page #52
Comments
…cript Waiting for a response on BigBoot/AutoKuma#52
Hi, sorry for the long delay, the problem is your pass an |
Hey, thanks for the reply. I actually tried it with no id value too, but it didn't work. I can't remember if it had the same error, but I think it did. I can retry and confirm if needed, but it definitely didn't succeed. |
Just to make sure, I'm talking about this id specifically: {
"status_page_id": 99, # Also tried "id", and even removing this key completely
"slug": "test",
"title": "Test",
"icon": "/icon.svg",
"theme": "dark",
"published": true,
"showTags": false,
"domainNameList": [],
"customCSS": "body {\n \n}\n",
"showPoweredBy": true,
"showCertificateExpiry": false,
"publicGroupList": [
{
- "id": 1,
"name": "Services",
"weight": 1,
"monitorList": [
{
"id": 1,
"name": "My Site",
"type": "http"
}
]
}
]
} Additionally the |
I'm trying to create a script that will create a status page for me on start-up if it doesn't already exist, but I'm having trouble with the kuma-client. I tried taking the output of
status-page get my-slug
and using it as the input tostatus-page add <file>
, but ran into this error:However, when I check UptimeKuma, the status page was created, but with no monitored services. I'm not sure what the format of the input file should be, or whether I need to use a different structure?
This is my status page JSON file:
The text was updated successfully, but these errors were encountered: