An open API service indexing awesome lists of open source software.

https://github.com/madhurjain/notifyhub

Standalone Notification Routing Service [mock]
https://github.com/madhurjain/notifyhub

Last synced: 2 months ago
JSON representation

Standalone Notification Routing Service [mock]

Awesome Lists containing this project

README

        

## NotifyHub

Standalone web service which accepts notifications as JSON and routes to APN or GCM Push Notification Services.

More notification services can be added by implementing the broker's `Service` interface.

#### Sample

`POST` below JSON to `/notify` endpoint

```json
{
"apn": {
"tokens": ["0a24de", "0a24de"],
"alert": "testing an apn",
"badge": 1,
"sound": "bingbong.aiff"
},
"gcm": {
"registration_ids": ["ab1d2c", "fe45d9"],
"title": "testing gcm",
"body": "message body",
"tag": "popup"
}
}
```