mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2026-01-05 03:43:17 -06:00
Web Push: add policy to API
This commit is contained in:
parent
b45199e9e6
commit
c0e53662cf
10 changed files with 121 additions and 4 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue