mirror of
https://github.com/superseriousbusiness/gotosocial
synced 2025-06-05 21:59:39 +02:00
[feature] Implement Web Push notification policy (#3721)
* Web Push: add policy column to subscriptions * Web Push: add policy to API * Web Push: test notification policy * go-fmt unrelated file (how did this get thru?)
This commit is contained in:
@@ -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:
|
||||
|
Reference in New Issue
Block a user