Add missing notification types to the api spec

This commit is contained in:
Mark Felder 2024-06-07 15:50:11 -04:00
parent bf8b251dc1
commit 5915062874
2 changed files with 7 additions and 1 deletions

View File

View File

@ -203,7 +203,10 @@ defmodule Pleroma.Web.ApiSpec.NotificationOperation do
"move", "move",
"follow_request", "follow_request",
"poll", "poll",
"status" "status",
"update",
"admin.sign_up",
"admin.report"
], ],
description: """ description: """
The type of event that resulted in the notification. 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:chat_mention` - Someone mentioned you in a chat message
- `pleroma:report` - Someone was reported - `pleroma:report` - Someone was reported
- `status` - Someone you are subscribed to created a status - `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 end