diff options
author | Egor Kislitsyn <egor@kislitsyn.com> | 2020-04-30 13:52:07 +0400 |
---|---|---|
committer | Egor Kislitsyn <egor@kislitsyn.com> | 2020-04-30 13:52:07 +0400 |
commit | 9c1adb35dea9a4e86b68b98558b85de7210d563e (patch) | |
tree | 87f74883eb4f5cd07dd8fa363dcddc473524714f /docs/API/differences_in_mastoapi_responses.md | |
parent | 5238ae3dd3bfba9ff84d5f47e2419227fc7c5d9a (diff) | |
parent | dae91630606d6ba408b3f340b6b450703c164ce1 (diff) | |
download | pleroma-9c1adb35dea9a4e86b68b98558b85de7210d563e.tar.gz pleroma-9c1adb35dea9a4e86b68b98558b85de7210d563e.zip |
Merge branch 'develop' into openapi/notifications
Diffstat (limited to 'docs/API/differences_in_mastoapi_responses.md')
-rw-r--r-- | docs/API/differences_in_mastoapi_responses.md | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/API/differences_in_mastoapi_responses.md b/docs/API/differences_in_mastoapi_responses.md index 921995510..289f85930 100644 --- a/docs/API/differences_in_mastoapi_responses.md +++ b/docs/API/differences_in_mastoapi_responses.md @@ -120,6 +120,18 @@ 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`. +## DELETE `/api/v1/notifications/destroy_multiple` + +An endpoint to delete multiple statuses by IDs. + +Required parameters: + +- `ids`: array of activity ids + +Usage example: `DELETE /api/v1/notifications/destroy_multiple/?ids[]=1&ids[]=2`. + +Returns on success: 200 OK `{}` + ## POST `/api/v1/statuses` Additional parameters can be added to the JSON body/Form data: |