mirror of
https://github.com/louislam/uptime-kuma.git
synced 2026-03-02 22:57:00 -05:00
REST API to add, update, disable and remove new monitors dynamically #872
Labels
No labels
A:accessibility
A:api
A:cert-expiry
A:core
A:dashboard
A:deployment
A:documentation
A:domain expiry
A:incidents
A:maintenance
A:metrics
A:monitor
A:notifications
A:reports
A:settings
A:status-page
A:ui/ux
A:user-management
Stale
ai-slop
blocked
blocked-upstream
bug
cannot-reproduce
dependencies
discussion
duplicate
feature-request
feature-request
good first issue
hacktoberfest
help
help wanted
house keeping
invalid
invalid-format
invalid-format
question
releaseblocker 🚨
security
spam
type:enhance-existing
type:new
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/uptime-kuma#872
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @amit213 on GitHub (Feb 27, 2022).
⚠️ Please verify that this feature request has NOT been suggested before.
🏷️ Feature Request Type
API
🔖 Feature description
Basic REST APIs to be able to dynamically add target URLs for monitoring. And REST API to be able to set the monitoring configuration such as timeouts etc.
This would come handy with automation when integrated with web services and linux nodes in cloud.
✔️ Solution
curl uptime-kuma-service.com/v1/AddNewMonitor -d { json data for the target URL, default params }
curl uptime-kuma-service.com/v1/DisableMonitor -d { json data for the target URL, default params }
curl uptime-kuma-service.com/v1/DeleteMonitor -d { json data for the target URL, default params }
❓ Alternatives
curl uptime-kuma-service.com/v1/AddNewMonitor -d { json data for the target URL, default params }
curl uptime-kuma-service.com/v1/DisableMonitor -d { json data for the target URL, default params }
curl uptime-kuma-service.com/v1/DeleteMonitor -d { json data for the target URL, default params }
📝 Additional Context
No response
@louislam commented on GitHub (Mar 2, 2022):
Duplicate of #118