Commit fa641338 authored by Eugen Rochko's avatar Eugen Rochko

Merge branch 'patch-3' into 'master'

Update notifications.md to mention polls in push subscriptions

See merge request !42
parents 13c29967 551f02cc
Pipeline #775 passed with stages
in 19 seconds
...@@ -83,6 +83,7 @@ Returns [Push Subscription]({{< relref "entities.md#push-subscription" >}}) ...@@ -83,6 +83,7 @@ Returns [Push Subscription]({{< relref "entities.md#push-subscription" >}})
| `data[alerts][favourite]` | Boolean of whether you want to receive favourite notification event. | Optional | | `data[alerts][favourite]` | Boolean of whether you want to receive favourite notification event. | Optional |
| `data[alerts][reblog]` | Boolean of whether you want to receive reblog notification event. | Optional | | `data[alerts][reblog]` | Boolean of whether you want to receive reblog notification event. | Optional |
| `data[alerts][mention]` | Boolean of whether you want to receive mention notification event. | Optional | | `data[alerts][mention]` | Boolean of whether you want to receive mention notification event. | Optional |
| `data[alerts][poll]` | Boolean of whether you want to receive poll result notification event. | Optional |
## GET /api/v1/push/subscription ## GET /api/v1/push/subscription
...@@ -110,6 +111,7 @@ Returns [Push Subscription]({{< relref "entities.md#push-subscription" >}}) ...@@ -110,6 +111,7 @@ Returns [Push Subscription]({{< relref "entities.md#push-subscription" >}})
| `data[alerts][favourite]` | Boolean of whether you want to receive favourite notification event. | Optional | | `data[alerts][favourite]` | Boolean of whether you want to receive favourite notification event. | Optional |
| `data[alerts][reblog]` | Boolean of whether you want to receive reblog notification event. | Optional | | `data[alerts][reblog]` | Boolean of whether you want to receive reblog notification event. | Optional |
| `data[alerts][mention]` | Boolean of whether you want to receive mention notification event. | Optional | | `data[alerts][mention]` | Boolean of whether you want to receive mention notification event. | Optional |
| `data[alerts][poll]` | Boolean of whether you want to receive poll result notification event. | Optional |
## DELETE /api/v1/push/subscription ## DELETE /api/v1/push/subscription
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment