Skip to content

add to the notification provider custom templates the full response #6852

@epifeny

Description

@epifeny

⚠️ Please verify that your question has not already been reported

🛡️ Security Policy

📝 Describe your problem

would it be ok, and i'm asking before i start working on it, with you CommanderStorm, to allow including the full response from the api that we use in the monitor?
i would like to be able to parse it using the liquidjs, so that i can customize the message to a human readable format.

{
  "current": "2025.1.2",
  "latest": "2026.1.2",
  "status": "Update"
}

Ex.
Update Rerquired! Current version 2025.1.2 < latest version 2026.1.2

Currently we only expose these AFAIK

Templatability is achieved via the Liquid templating language. Please refer to the [documentation](https://liquidjs.com/) for usage instructions.
{{ msg }} : message of the notification
{{ name }} : service name
{{ status }} : status
{{ hostnameOrURL }} : hostname or URL
{{ heartbeatJSON }} : object describing the heartbeat (only available for UP/DOWN notifications)
{{ monitorJSON }} : object describing the monitor (only available for UP/DOWN/Certificate expiry notifications)

📝 Error Message(s) or Log

🐻 Uptime-Kuma Version

nightly

💻 Operating System and Arch

ubuntu

🌐 Browser

firefox

🖥️ Deployment Environment

docker

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature-requestRequest for new features to be added

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions