Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Request to add an unauthorized method for uptime monitoring #771

@SpriteOvO

Description

@SpriteOvO

I want to add monitoring for my self-hosted instance to my UptimeKuma, but there doesn't seem to be a method that doesn't require authorization and can return the instance status.

I propose adding a method /ping (not /botTOKEN/ping) that returns the following information

{
	"ok": true,
	"result": {
        "online": true, // Indicates that the local instance in online
        "connected": true // Indicates that the Telegram server is online
    }
}

It does not have to be a bool type, as long as there is a way to determine these statuses.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions