Skip to content

Gotify

https://shoutrrr.nickfedor.com/services/push/gotify/

URL 格式

gotify://host:port/path/token

URL 字段

  • Host - 服务器主机名(和可选的端口)(必需
    URL 部分: gotify://host:port/path/token
  • Path - 服务器子路径
    默认值:
    URL 部分: gotify://host:port/path/token
  • Token - 应用程序令牌(必需
    URL 部分: gotify://host:port/path/token

查询参数

参数可以通过 URL 查询参数提供:?key=value&key=value 等。

  • DisableTLS
    默认值:❌ No

  • Priority
    默认值:0

示例

常见用法

gotify://gotify.example.com:443/AzyoeNS.D4iJLVa/?priority=1

带子路径

gotify://example.com:443/path/to/gotify/AzyoeNS.D4iJLVa/?priority=0

例外情况

如果使用 Gotify 3.x(其令牌带有 'gtfya.' 前缀,例如 'gtfya.AzyoeNS.D4iJLVa'),则必须使用通用通知语法,而不是 gotify 通知语法。

示例:generic://gotify.yourdomain.com/message?token=gtfya.AzyoeNS.D4iJLVa&@content-type=application/json&template=json

注意:使用通用语法时,Shoutrrr 需要通过 HTTPS 进行通信。

基于 MIT 许可发布