[#1304] Moved remaining fields from User.Info to User.

Misc. fixes / improvements.
This commit is contained in:
Ivan Tashkinov 2019-10-20 13:42:42 +03:00
commit e8843974cb
14 changed files with 355 additions and 205 deletions

View file

@ -160,7 +160,7 @@ Note: Available `:permission_group` is currently moderator and admin. 404 is ret
- Params: none
- Response:
- On failure: `{"error": "…"}`
- On success: JSON of the `user.info`
- On success: JSON of the user
### Remove user from permission group
@ -168,7 +168,7 @@ Note: Available `:permission_group` is currently moderator and admin. 404 is ret
- Params: none
- Response:
- On failure: `{"error": "…"}`
- On success: JSON of the `user.info`
- On success: JSON of the user
- Note: An admin cannot revoke their own admin status.
## `/api/pleroma/admin/users/:nickname/activation_status`