summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2020-05-05 13:40:12 +0000
committerlain <lain@soykaf.club>2020-05-05 13:40:12 +0000
commit42a2acac46602d25e7b63042990dfa56eee25b76 (patch)
treef4cfbe6443880662d17685e0da605fb274b2d671 /docs
parent33f29760200e00305be20350898ebfd2b3ce21af (diff)
parente7d8ab8303cb69682a75c30a356572a75deb9837 (diff)
downloadpleroma-42a2acac46602d25e7b63042990dfa56eee25b76.tar.gz
pleroma-42a2acac46602d25e7b63042990dfa56eee25b76.zip
Merge branch 'feature/1720-status-view' into 'develop'
Admin API fetch status by id Closes #1720 See merge request pleroma/pleroma!2475
Diffstat (limited to 'docs')
-rw-r--r--docs/API/admin_api.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/API/admin_api.md b/docs/API/admin_api.md
index 6202c5a1a..23af08961 100644
--- a/docs/API/admin_api.md
+++ b/docs/API/admin_api.md
@@ -755,6 +755,17 @@ 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
+## `GET /api/pleroma/admin/statuses/:id`
+
+### Show status by id
+
+- Params:
+ - `id`: required, status id
+- Response:
+ - On failure:
+ - 404 Not Found `"Not Found"`
+ - On success: JSON, Mastodon Status entity
+
## `PUT /api/pleroma/admin/statuses/:id`
### Change the scope of an individual reported status