server
server copied to clipboard
Support UnifiedPush /UP
Is your feature request related to a problem? Please describe. It would be nice, that no nginx with LUA is needed infront of gotify
Describe the solution you'd like
Implement an /UP like in the LUA Script definied:
https://unifiedpush.org/users/distributors/gotify/
I don't fully support Unified Push right now, I'd probably include such an api after the android part for unified push is merged.
Unified push from my point of view still needs a little more adoption to be integrated into gotify.
Okay it is blocked by: https://github.com/UnifiedPush/gotify-android/issues/2
I know this isn't happening now, but for future reference
Implement an /UP like in the LUA Script definied:
the full definition is here https://unifiedpush.org/spec/server/
Any update ?
It would be very nice to at least consider this alternative : an endpoint where:
- token can be set via a GET parameter. For instance
/raw?token=<token>. - the raw POST data is the content of "message"
- (less important but still) if possible, a
discoveryparameter to set the response ofGET /raw?token=anywould be perfect.
It can be done by editing https://github.com/gotify/server/pull/420 to have api/raw.go and change /UP to /raw.
This way:
- this endpoint is not officially for unifiedpush, and can be used for other reasons
- UnifiedPush users won't struggle to set up a self hosted gotify server for it.
May I give a little UP ;) to this issue. Is there any news about it ? With the increasing adoption of GrapheneOS, supporting UnifiedPush might become more interesting ?... Edit : sorry, I hadn't seen your comment on the other issue.