From 27844b7da2567491661f9ddd2d4662f9f1b3ce40 Mon Sep 17 00:00:00 2001 From: Vyr Cossont Date: Mon, 3 Feb 2025 02:25:53 -0800 Subject: [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?) --- docs/api/swagger.yaml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'docs/api') diff --git a/docs/api/swagger.yaml b/docs/api/swagger.yaml index 5ff5346bc..65d332227 100644 --- a/docs/api/swagger.yaml +++ b/docs/api/swagger.yaml @@ -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: -- cgit v1.2.3