commit: 5915062874f0697beb51bd80eabafb6cfa34d362
parent bf8b251dc16b5730f384daf19a0c6ce02391c92e
Author: Mark Felder <feld@feld.me>
Date: Fri, 7 Jun 2024 15:50:11 -0400
Add missing notification types to the api spec
Diffstat:
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/changelog.d/notification-spex.skip b/changelog.d/notification-spex.skip
diff --git a/lib/pleroma/web/api_spec/operations/notification_operation.ex b/lib/pleroma/web/api_spec/operations/notification_operation.ex
@@ -203,7 +203,10 @@ defmodule Pleroma.Web.ApiSpec.NotificationOperation do
"move",
"follow_request",
"poll",
- "status"
+ "status",
+ "update",
+ "admin.sign_up",
+ "admin.report"
],
description: """
The type of event that resulted in the notification.
@@ -218,6 +221,9 @@ defmodule Pleroma.Web.ApiSpec.NotificationOperation do
- `pleroma:chat_mention` - Someone mentioned you in a chat message
- `pleroma:report` - Someone was reported
- `status` - Someone you are subscribed to created a status
+ - `update` - A status you boosted has been edited
+ - `admin.sign_up` - Someone signed up (optionally sent to admins)
+ - `admin.report` - A new report has been filed
"""
}
end