https://github.com/waterloo/heroku-firefox-os-simple-push-server
Firefox OS SimplePush API Server Heroku button for easy deploying
https://github.com/waterloo/heroku-firefox-os-simple-push-server
Last synced: 8 months ago
JSON representation
Firefox OS SimplePush API Server Heroku button for easy deploying
- Host: GitHub
- URL: https://github.com/waterloo/heroku-firefox-os-simple-push-server
- Owner: Waterloo
- License: mit
- Created: 2015-11-15T11:21:35.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-11-15T14:29:42.000Z (over 10 years ago)
- Last Synced: 2025-03-18T08:42:39.556Z (over 1 year ago)
- Language: JavaScript
- Size: 0 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# heroku firefox os simple push server
Firefox OS SimplePush API Server Heroku button for easy deploying
[](https://heroku.com/deploy)
The Simple Push API provides Firefox OS apps the ability to be woken up to receive notifications. You could use Simple Push as a sync mechanism, or even to fetch the latest data from third party servers.~
API Endpoint
####Register
Post your channel id as post parameter 'client' to :
```
/api/v1/register
```
####Unregister
Post your channel id as post parameter 'client' to :
```
/api/v1/unregister
```
####Send a message
Post your channel id as 'client' and your message as 'message' to :
```
/api/v1/
```
####Receive a message
Get your channel id as get parameter 'client' to :
```
/api/v1/[message number]?client=[client]
````