diff options
author | lain <lain@soykaf.club> | 2020-05-05 13:40:12 +0000 |
---|---|---|
committer | lain <lain@soykaf.club> | 2020-05-05 13:40:12 +0000 |
commit | 42a2acac46602d25e7b63042990dfa56eee25b76 (patch) | |
tree | f4cfbe6443880662d17685e0da605fb274b2d671 /docs | |
parent | 33f29760200e00305be20350898ebfd2b3ce21af (diff) | |
parent | e7d8ab8303cb69682a75c30a356572a75deb9837 (diff) | |
download | pleroma-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.md | 11 |
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 |