API to programmatically add and remove a maintenance window for a service #1791

Closed
opened 2026-02-28 02:32:44 -05:00 by deekerman · 4 comments
Owner

Originally created by @miguelarios on GitHub (Jan 17, 2023).

⚠️ Please verify that this bug has NOT been raised before.

  • I checked and didn't find similar issue

🛡️ Security Policy

📝 Describe your problem

I have nightly Restic backups that set my Nextcloud instance to maintenance mode which causes an 503 error and notifies me via pushover as a critical notification since my Nextcloud instance is very important to me to keep up. I have set a recurring maintenance window during the backups but would be nice to have an api endpoint that I could curl as part of my bash script in my backup to add a maintenance for my Nextcloud instance to pause notifications.

🐻 Uptime-Kuma Version

1.19.3

💻 Operating System and Arch

Debian 5.10.149-2

🌐 Browser

Firefox 108.1

🐋 Docker Version

Docker 20.10.22

🟩 NodeJS Version

No response

Originally created by @miguelarios on GitHub (Jan 17, 2023). ### ⚠️ Please verify that this bug has NOT been raised before. - [X] I checked and didn't find similar issue ### 🛡️ Security Policy - [X] I agree to have read this project [Security Policy](https://github.com/louislam/uptime-kuma/security/policy) ### 📝 Describe your problem I have nightly Restic backups that set my Nextcloud instance to maintenance mode which causes an 503 error and notifies me via pushover as a critical notification since my Nextcloud instance is very important to me to keep up. I have set a recurring maintenance window during the backups but would be nice to have an api endpoint that I could curl as part of my bash script in my backup to add a maintenance for my Nextcloud instance to pause notifications. ### 🐻 Uptime-Kuma Version 1.19.3 ### 💻 Operating System and Arch Debian 5.10.149-2 ### 🌐 Browser Firefox 108.1 ### 🐋 Docker Version Docker 20.10.22 ### 🟩 NodeJS Version _No response_
deekerman 2026-02-28 02:32:44 -05:00
  • closed this issue
  • added the
    Stale
    help
    labels
Author
Owner

@miguelarios commented on GitHub (Jan 17, 2023):

Out the wrong label on this. It needs to be a feature request. Sorry!

@miguelarios commented on GitHub (Jan 17, 2023): Out the wrong label on this. It needs to be a feature request. Sorry!
Author
Owner

@Computroniks commented on GitHub (Jan 17, 2023):

Duplicate #118

@Computroniks commented on GitHub (Jan 17, 2023): Duplicate #118
Author
Owner

@github-actions[bot] commented on GitHub (Apr 17, 2023):

We are clearing up our old issues and your ticket has been open for 3 months with no activity. Remove stale label or comment or this will be closed in 2 days.

@github-actions[bot] commented on GitHub (Apr 17, 2023): We are clearing up our old issues and your ticket has been open for 3 months with no activity. Remove stale label or comment or this will be closed in 2 days.
Author
Owner

@github-actions[bot] commented on GitHub (Apr 19, 2023):

This issue was closed because it has been stalled for 2 days with no activity.

@github-actions[bot] commented on GitHub (Apr 19, 2023): This issue was closed because it has been stalled for 2 days with no activity.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/uptime-kuma#1791
No description provided.