Unofficial Docker image of Airnotifier
1.2K
AirNotifier is an user friendly yet powerful application server for sending real-time notifications to mobile and desktop applications. AirNotifier provides an unified web service interface to deliver messages to multi devices using multi protocols, it also features a web based administrator UI to configure and manage services.
POST /api/v2/push HTTP/1.1
X-AN-APP-NAME: moodlemobileapp
X-AN-APP-KEY: b2b56dbb
Content-Type: application/json
{
"device": "ios",
"token": "FE66489F304DC75B8D6E8200DFF8A456E8DAEACEC428B427E9518741C92C6660",
"alert": "Hello from AirNotifier",
"sound": "Submarine.aiff",
"badge": 1
}
POST /api/v2/push HTTP/1.1
X-AN-APP-NAME: moodlemobileapp
X-AN-APP-KEY: b2b56dbb
Content-Type: application/json
{
"device": "sms",
"token": "61412345987 [phone no]",
"alert": "SMS message goes here"
}
POST /api/v2/push HTTP/1.1
X-AN-APP-NAME: moodlemobileapp
X-AN-APP-KEY: b2b56dbb
Content-Type: application/json
{
"device": "wns",
"token": "https:\/\/sin.notify.windows.com\/?token=AgYAAACDWksZrGbln5sUbP6D3F%2b9ddjptarcZ%2f9vJsDwCt16EHiupJaRddEXJ8BEfx4SE5slxQlB6iknY7zdUEXFayFclNXCIYp6CWnMTYSHGVRySO7aglj6%2b09wTBYqBFxFuoA%3d",
"alert": "alert contetnt",
"wns": {
"type": "toast",
"template": "ToastImageAndText01",
"image": ["image1"],
"text": ["test1"]
},
"extra": {
"processor":"moodle",
"data":{"key1":"param1 value","key2":"param2 value"}
}
}
Please read Installation guide
airnotifier.conf is the config file, options:
Copyright (c) Dongsheng Cai and individual contributors
Content type
Image
Digest
Size
271.3 MB
Last updated
about 10 years ago
docker pull anthodingo/airnotifier