diff options
author | Manuel Stahl <37705355+awesome-manuel@users.noreply.github.com> | 2020-04-28 19:19:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-28 18:19:36 +0100 |
commit | 04dd7d182d0601289e0e047243b50803f526ef69 (patch) | |
tree | e7ba14367708d146e0626a7199a42d8511ad9911 /docs/admin_api/user_admin_api.rst | |
parent | Add some replication tests (#7278) (diff) | |
download | synapse-04dd7d182d0601289e0e047243b50803f526ef69.tar.xz |
Return total number of users and profile attributes in admin users endpoint (#6881)
Signed-off-by: Manuel Stahl <manuel.stahl@awesome-technologies.de>
Diffstat (limited to 'docs/admin_api/user_admin_api.rst')
-rw-r--r-- | docs/admin_api/user_admin_api.rst | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/docs/admin_api/user_admin_api.rst b/docs/admin_api/user_admin_api.rst index 9ce10119ff..927ed65f77 100644 --- a/docs/admin_api/user_admin_api.rst +++ b/docs/admin_api/user_admin_api.rst @@ -72,17 +72,22 @@ It returns a JSON body like the following: "is_guest": 0, "admin": 0, "user_type": null, - "deactivated": 0 + "deactivated": 0, + "displayname": <User One>, + "avatar_url": null }, { "name": "<user_id2>", "password_hash": "<password_hash2>", "is_guest": 0, "admin": 1, "user_type": null, - "deactivated": 0 + "deactivated": 0, + "displayname": <User Two>, + "avatar_url": "<avatar_url>" } ], - "next_token": "100" + "next_token": "100", + "total": 200 } |