diff options
author | lain <lain@soykaf.club> | 2020-05-28 16:58:28 +0000 |
---|---|---|
committer | lain <lain@soykaf.club> | 2020-05-28 16:58:28 +0000 |
commit | f6ddf0cc50ddb7b95e3387fd68a8ba1c9f271d2c (patch) | |
tree | ba880836d319b2cf403ceeed46db85c59b8b4fdf /docs/API/admin_api.md | |
parent | ddbf7084e260d072dd7c04972b695c0529c8979b (diff) | |
parent | 047a11c48f2bc88b6b278b6a5acd94807c7e5138 (diff) | |
download | pleroma-f6ddf0cc50ddb7b95e3387fd68a8ba1c9f271d2c.tar.gz |
Merge branch 'feature/1792-update-actor-type' into 'develop'
Validate actor type
See merge request pleroma/pleroma!2593
Diffstat (limited to 'docs/API/admin_api.md')
-rw-r--r-- | docs/API/admin_api.md | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/docs/API/admin_api.md b/docs/API/admin_api.md index c455047cc..639c3224d 100644 --- a/docs/API/admin_api.md +++ b/docs/API/admin_api.md @@ -511,7 +511,23 @@ Note: Available `:permission_group` is currently moderator and admin. 404 is ret - `discoverable` - `actor_type` -- Response: none (code `200`) +- Response: + +```json +{"status": "success"} +``` + +```json +{"errors": + {"actor_type": "is invalid"}, + {"email": "has invalid format"}, + ... + } +``` + +```json +{"error": "Unable to update user."} +``` ## `GET /api/pleroma/admin/reports` |