mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-11-14 04:52:17 +00:00
Add missing notification types to the api spec
This commit is contained in:
parent
bf8b251dc1
commit
5915062874
2 changed files with 7 additions and 1 deletions
0
changelog.d/notification-spex.skip
Normal file
0
changelog.d/notification-spex.skip
Normal file
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue