mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-30 00:06:14 -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
|
|
@ -147,6 +147,17 @@ import (
|
|||
// type: boolean
|
||||
// default: false
|
||||
// description: Receive a push notification when a boost is pending?
|
||||
// -
|
||||
// name: data[policy]
|
||||
// in: formData
|
||||
// type: string
|
||||
// enum:
|
||||
// - all
|
||||
// - followed
|
||||
// - follower
|
||||
// - none
|
||||
// default: all
|
||||
// description: Which accounts to receive push notifications from.
|
||||
//
|
||||
// security:
|
||||
// - OAuth2 Bearer:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue