Push notification server for Tari Aurora
POST http://localhost:4000/register/:pub_key
{
"token": "device_token_goes_here",
"platform": "ios", //"ios" or "android"
"signature": "abc123", //Message to sign is "app_api_key" + "pub_key" + "token"
"public_nonce": "def456",
"sandbox": false //Set this to true if token was registered from an app running in debug
}
POST http://localhost:4000/send/:to_pub_key
{
"from_pub_key": "abc123", //Your public key
"signature": "abc123", //Message to sign is "app_api_key" + "from_pub_key" + "to_pub_key"
"public_nonce": "def456"
}
POST http://localhost:4000/cancel-reminders
{
"pub_key": "abc123", //Your public key
"signature": "abc123", //Message to sign is "app_api_key" + "pub_key" + "cancel-reminders"
"public_nonce": "def456"
}