summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Felder <feld@feld.me>2024-06-07 15:50:11 -0400
committerMark Felder <feld@feld.me>2024-06-07 15:50:11 -0400
commit5915062874f0697beb51bd80eabafb6cfa34d362 (patch)
tree8ebf1b181372e6d058cf2023a29d917f9eb282fd
parentbf8b251dc16b5730f384daf19a0c6ce02391c92e (diff)
downloadpleroma-5915062874f0697beb51bd80eabafb6cfa34d362.tar.gz
pleroma-5915062874f0697beb51bd80eabafb6cfa34d362.zip
Add missing notification types to the api spec
-rw-r--r--changelog.d/notification-spex.skip0
-rw-r--r--lib/pleroma/web/api_spec/operations/notification_operation.ex8
2 files changed, 7 insertions, 1 deletions
diff --git a/changelog.d/notification-spex.skip b/changelog.d/notification-spex.skip
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ 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
index a79eb8f74..2dc0f66df 100644
--- 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