Push Notification APIs
From Social ID Developers
(Difference between revisions)
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | + | == Devices == | |
+ | |||
+ | {| | ||
+ | ! align="left" width="350px"| Resource | ||
+ | ! align="left"| 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 == | ||
+ | |||
+ | {| | ||
+ | ! align="left" width="350px"| Resource | ||
+ | ! align="left"| 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. | ||
+ | |} |
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. |