Push Notification APIs
From Social ID Developers
(Difference between revisions)
(3 intermediate revisions by 2 users not shown) | |||
Line 6: | Line 6: | ||
|- | |- | ||
| [[POST push_notifications/devices]] | | [[POST push_notifications/devices]] | ||
− | | | + | | Adds a new device to the Login App devices list. |
|- | |- | ||
| [[PUT push_notifications/devices/:id/link_to/:login_user_id]] | | [[PUT push_notifications/devices/:id/link_to/:login_user_id]] | ||
− | | | + | | Relates a device with a Login App user. |
|} | |} | ||
− | == | + | == Push Notifications == |
{| | {| | ||
Line 19: | Line 19: | ||
|- | |- | ||
| [[POST push_notifications/devices/:id/publish]] | | [[POST push_notifications/devices/:id/publish]] | ||
− | | | + | | Sends a push notification to a device. |
|- | |- | ||
|[[POST push_notifications/login/apps/publish]] | |[[POST push_notifications/login/apps/publish]] | ||
− | | | + | | Sends a push notification to all devices of a Login App. |
|- | |- | ||
|[[POST push_notifications/login/users/:id/publish]] | |[[POST push_notifications/login/users/:id/publish]] | ||
− | | | + | | Sends a push notification to all devices of a Login user. |
|} | |} |
Latest revision as of 13:26, 10 May 2019
Devices
Resource | Description |
---|---|
POST push_notifications/devices | Adds a new device to the Login App devices list. |
PUT push_notifications/devices/:id/link_to/:login_user_id | Relates a device with a Login App user. |
Push Notifications
Resource | Description |
---|---|
POST push_notifications/devices/:id/publish | Sends a push notification to a device. |
POST push_notifications/login/apps/publish | Sends a push notification to all devices of a Login App. |
POST push_notifications/login/users/:id/publish | Sends a push notification to all devices of a Login user. |