Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support UnifiedPush /UP #419

Open
genofire opened this issue Jun 27, 2021 · 5 comments
Open

Support UnifiedPush /UP #419

genofire opened this issue Jun 27, 2021 · 5 comments
Labels
a:feature New feature or request

Comments

@genofire
Copy link

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/

@genofire genofire added the a:feature New feature or request label Jun 27, 2021
@genofire genofire changed the title Support Unified /UP Support UnifiedPush /UP Jun 27, 2021
@jmattheis
Copy link
Member

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.

@genofire
Copy link
Author

genofire commented Jul 2, 2021

Okay it is blocked by: UnifiedPush/gotify-android#2

@karmanyaahm
Copy link
Contributor

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/

@p1gp1g
Copy link

p1gp1g commented Nov 8, 2021

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 discovery parameter to set the response of GET /raw?token=any would be perfect.

It can be done by editing #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.

@Eirikr70
Copy link

Eirikr70 commented Jan 21, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a:feature New feature or request
Development

Successfully merging a pull request may close this issue.

5 participants