Merge branch 'patch-3' into 'master'

Update notifications.md to mention polls in push subscriptions

See merge request mastodon/docs!42
This commit is contained in:
Eugen Rochko 2019-06-11 16:44:02 +02:00
commit 74699dd151
1 changed files with 2 additions and 0 deletions

View File

@ -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][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][poll]` | Boolean of whether you want to receive poll result notification event. | Optional |
## GET /api/v1/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][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][poll]` | Boolean of whether you want to receive poll result notification event. | Optional |
## DELETE /api/v1/push/subscription