Comments (4)
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.
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.
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.
thanks jannis for update, no problem :)
from server.
Related Issues (20)
- Can a push be targeted to a specific device/client? HOT 1
- POSTing a message returns 403 only when the `Origin` header is set. HOT 3
- Vulnerability of dependency "golang.org/x/net, golang.org/x/text, github.com/gin-gonic/gin"
- Store images in DB HOT 1
- Building on arm64 for arm64 is broken. HOT 2
- Send RSS to Gotify? HOT 1
- Microsoft MySQL Connection Problem HOT 4
- text/markdown open links in new tab for gotify web ui HOT 2
- runtime/cgo: pthread_create failed: Operation not permitted HOT 1
- Cannot log in with nginx proxy (CORS) HOT 1
- Browser 502 error HOT 5
- A proposal of access control HOT 1
- WebSocket connection closed, trying again in 30 seconds. HOT 1
- the ability to turn off push notifications in server HOT 3
- request to add app icon left to name in webui HOT 1
- Message to many users possible? HOT 1
- build problem HOT 5
- JavaScript say unable to verify the first certificate','name' HOT 4
- ability to have webUI and API on different ports HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from server.