diff options
author | lain <lain@soykaf.club> | 2020-11-13 13:35:47 +0000 |
---|---|---|
committer | lain <lain@soykaf.club> | 2020-11-13 13:35:47 +0000 |
commit | 0d149502fe8397df6f374b44f1b0087d05cadecb (patch) | |
tree | 5a62aaf428f725e9af73542ca970d7ba4bf342a1 /docs/API/differences_in_mastoapi_responses.md | |
parent | 0597571fcac7a7e180b67797868a4ffa0f8a4f0b (diff) | |
parent | 70e4b86250da9ef97a836f497510c36bf22fa905 (diff) | |
download | pleroma-0d149502fe8397df6f374b44f1b0087d05cadecb.tar.gz pleroma-0d149502fe8397df6f374b44f1b0087d05cadecb.zip |
Merge branch 'fixes_2034_reports_should_send_a_notification_to_admins' into 'develop'
fixes 2034 Make notifs view work for reports
Closes #2034
See merge request pleroma/pleroma!2912
Diffstat (limited to 'docs/API/differences_in_mastoapi_responses.md')
-rw-r--r-- | docs/API/differences_in_mastoapi_responses.md | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/docs/API/differences_in_mastoapi_responses.md b/docs/API/differences_in_mastoapi_responses.md index 3075b6b86..ba48a2ca1 100644 --- a/docs/API/differences_in_mastoapi_responses.md +++ b/docs/API/differences_in_mastoapi_responses.md @@ -129,12 +129,30 @@ The `type` value is `pleroma:emoji_reaction`. Has these fields: - `account`: The account of the user who reacted - `status`: The status that was reacted on +### ChatMention Notification (not default) + +This notification has to be requested explicitly. + +The `type` value is `pleroma:chat_mention` + +- `account`: The account who sent the message +- `chat_message`: The chat message + +### Report Notification (not default) + +This notification has to be requested explicitly. + +The `type` value is `pleroma:report` + +- `account`: The account who reported +- `report`: The report + ## GET `/api/v1/notifications` Accepts additional parameters: - `exclude_visibilities`: will exclude the notifications for activities with the given visibilities. The parameter accepts an array of visibility types (`public`, `unlisted`, `private`, `direct`). Usage example: `GET /api/v1/notifications?exclude_visibilities[]=direct&exclude_visibilities[]=private`. -- `include_types`: will include the notifications for activities with the given types. The parameter accepts an array of types (`mention`, `follow`, `reblog`, `favourite`, `move`, `pleroma:emoji_reaction`). Usage example: `GET /api/v1/notifications?include_types[]=mention&include_types[]=reblog`. +- `include_types`: will include the notifications for activities with the given types. The parameter accepts an array of types (`mention`, `follow`, `reblog`, `favourite`, `move`, `pleroma:emoji_reaction`, `pleroma:chat_mention`, `pleroma:report`). Usage example: `GET /api/v1/notifications?include_types[]=mention&include_types[]=reblog`. ## DELETE `/api/v1/notifications/destroy_multiple` |