Web Push: add policy to API

This commit is contained in:
Vyr Cossont 2025-01-31 12:34:20 -08:00
commit c0e53662cf
10 changed files with 121 additions and 4 deletions

View file

@ -9922,6 +9922,16 @@ paths:
in: formData
name: data[alerts][pending.reblog]
type: boolean
- default: all
description: Which accounts to receive push notifications from.
enum:
- all
- followed
- follower
- none
in: formData
name: data[policy]
type: string
produces:
- application/json
responses:
@ -10019,6 +10029,16 @@ paths:
in: formData
name: data[alerts][pending.reblog]
type: boolean
- default: all
description: Which accounts to receive push notifications from.
enum:
- all
- followed
- follower
- none
in: formData
name: data[policy]
type: string
produces:
- application/json
responses: