summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMaksim Pechnikov <parallel588@gmail.com>2020-05-06 05:55:39 +0300
committerMaksim Pechnikov <parallel588@gmail.com>2020-05-06 05:55:39 +0300
commitfb38b7339ccb6c3d7a3a07b74a6471a0f38622fe (patch)
treea6dc7761d53a37be6a1c46af1c3cbc8873ce50d8 /docs
parentfe7a0d660e357a03558be3a95ddbb8b409ef9a9e (diff)
parent7612d9403dbaa6741b28dcf427ecad8fd0f70c30 (diff)
downloadpleroma-fb38b7339ccb6c3d7a3a07b74a6471a0f38622fe.tar.gz
pleroma-fb38b7339ccb6c3d7a3a07b74a6471a0f38622fe.zip
Merge branch 'develop' into issue/1276-2
Diffstat (limited to 'docs')
-rw-r--r--docs/API/admin_api.md11
-rw-r--r--docs/configuration/cheatsheet.md6
2 files changed, 16 insertions, 1 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
diff --git a/docs/configuration/cheatsheet.md b/docs/configuration/cheatsheet.md
index 681ab6b93..705c4c15e 100644
--- a/docs/configuration/cheatsheet.md
+++ b/docs/configuration/cheatsheet.md
@@ -924,4 +924,8 @@ Restrict access for unauthenticated users to timelines (public and federate), us
* `remote`
* `activities` - statuses
* `local`
- * `remote` \ No newline at end of file
+ * `remote`
+
+## Pleroma.Web.ApiSpec.CastAndValidate
+
+* `:strict` a boolean, enables strict input validation (useful in development, not recommended in production). Defaults to `false`.