mirror of
https://github.com/louislam/uptime-kuma.git
synced 2026-03-02 22:57:00 -05:00
404 when trying to use the API #2055
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#2055
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 @corybohon on GitHub (Mar 29, 2023).
⚠️ Please verify that this bug has NOT been raised before.
🛡️ Security Policy
📝 Describe your problem
I'm trying to access the API in my Uptime Kuma installation to update the hostname for a particular monitor, however, whenever I try to use the
PUT /api/v1/monitors/[id]endpoint, I get a text error that itCannot PUT /api/v1/monitors/1. I've attached the image of the request below.Questions:
Authorization: [KEY HERE]?I appreciate any help in getting this working! This project is amazing and so happy that I found it!
📝 Error Message(s) or Log
No response
🐻 Uptime-Kuma Version
1.21.1
💻 Operating System and Arch
Ubuntu 20.04.6 LTS
🌐 Browser
Safari 16.3
🐋 Docker Version
No response
🟩 NodeJS Version
v14.21.3
@louislam commented on GitHub (Mar 30, 2023):
No such API endpoint.
PUT /api/v1/monitors/[id]where did you see this?@corybohon commented on GitHub (Mar 30, 2023):
I found it on an article online, but now I cannot find the link to it. Is there a list of official API documentation somewhere that I can look at?
@Computroniks commented on GitHub (Mar 31, 2023):
Currently there is no public API. See #118 for more details on proposed functionality. With regards to the API key, this is only for the prometheus endpoint and makes use of basic authentication with an empty username field. I.e. An authorization header with the following in base64 encoding
:<api key>. Note that the:is required to indicate an empty username field.@CommanderStorm commented on GitHub (May 24, 2023):
@corybohon Is this issue resolved?
@github-actions[bot] commented on GitHub (Aug 22, 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 (Aug 24, 2023):
This issue was closed because it has been stalled for 2 days with no activity.