Giter Club home page Giter Club logo

Comments (4)

jmattheis avatar jmattheis commented on July 21, 2024

Webhooks don't have a standard format, so tailscale likely doesn't send the events in the format required by gotify. https://gotify.net/api-docs#/message/createMessage

from server.

hs6666 avatar hs6666 commented on July 21, 2024

hi

i was just looking here .... https://gotify.net/docs/pushmsg

i assumed that a post command of the form (from above page)....

http -f POST "https://push.example.de/message?token=" title="my title" message="my message" priority="5"

could be adapted to the tailscale events that are sent as JSON objects with the following fields...

timestamp: Time the event occurred, formatted as a RFC 3339 string.

version: Version of the event payload (currently always 1).

type: Type of the event (as listed in the table above).

tailnet: Name of the tailnet where the event occurred.

message: Human-readable summary of the event.

data: Optional per-event payload with additional data

but i have no idea what format to enter in the url in the tailscale webooks settings page to make it work?

(e.g. title="type")

thanks

from server.

jmattheis avatar jmattheis commented on July 21, 2024

Gotify doesn't support this, you could probably write a gotify plugin for this functionality. It's out of scope for gotify to support this natively.

from server.

hs6666 avatar hs6666 commented on July 21, 2024

thanks jannis for update, no problem :)

from server.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.