summaryrefslogtreecommitdiff
path: root/docs/API
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2020-06-03 17:00:59 +0000
committerlain <lain@soykaf.club>2020-06-03 17:00:59 +0000
commitd6693a91028ab3ee7865f530f3ad2532542fc2d2 (patch)
treeefb2b005f9259629c22d473550413908a1efff7d /docs/API
parent18b050dfd1fe053d28440c889feafb88dd6a9a73 (diff)
parentc16315d055d07206dddb228583956d5b718ecdd4 (diff)
downloadpleroma-d6693a91028ab3ee7865f530f3ad2532542fc2d2.tar.gz
pleroma-d6693a91028ab3ee7865f530f3ad2532542fc2d2.zip
Merge branch 'openapi/admin/reports' into 'develop'
Add OpenAPI spec for AdminAPI.ReportController See merge request pleroma/pleroma!2628
Diffstat (limited to 'docs/API')
-rw-r--r--docs/API/admin_api.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/API/admin_api.md b/docs/API/admin_api.md
index 639c3224d..92816baf9 100644
--- a/docs/API/admin_api.md
+++ b/docs/API/admin_api.md
@@ -547,7 +547,7 @@ Note: Available `:permission_group` is currently moderator and admin. 404 is ret
```json
{
- "totalReports" : 1,
+ "total" : 1,
"reports": [
{
"account": {
@@ -768,7 +768,7 @@ Note: Available `:permission_group` is currently moderator and admin. 404 is ret
- 400 Bad Request `"Invalid parameters"` when `status` is missing
- On success: `204`, empty response
-## `POST /api/pleroma/admin/reports/:report_id/notes/:id`
+## `DELETE /api/pleroma/admin/reports/:report_id/notes/:id`
### Delete report note