diff options
author | Mathieu Velten <mathieuv@matrix.org> | 2023-09-04 18:13:28 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-04 18:13:28 +0200 |
commit | dcb27783417a1161c484525afb839233299b847f (patch) | |
tree | bc0833777c5caf4b1a35f644afdb090e05c6de3f /docs/admin_api | |
parent | Merge branch 'master' into develop (diff) | |
download | synapse-dcb27783417a1161c484525afb839233299b847f.tar.xz |
Add last_seen_ts to the admin users API (#16218)
Diffstat (limited to 'docs/admin_api')
-rw-r--r-- | docs/admin_api/user_admin_api.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/admin_api/user_admin_api.md b/docs/admin_api/user_admin_api.md index 8032e05497..975a7a0da4 100644 --- a/docs/admin_api/user_admin_api.md +++ b/docs/admin_api/user_admin_api.md @@ -242,6 +242,7 @@ The following parameters should be set in the URL: - `displayname` - Users are ordered alphabetically by `displayname`. - `avatar_url` - Users are ordered alphabetically by avatar URL. - `creation_ts` - Users are ordered by when the users was created in ms. + - `last_seen_ts` - Users are ordered by when the user was lastly seen in ms. - `dir` - Direction of media order. Either `f` for forwards or `b` for backwards. Setting this value to `b` will reverse the above sort order. Defaults to `f`. @@ -272,6 +273,7 @@ The following fields are returned in the JSON response body: - `displayname` - string - The user's display name if they have set one. - `avatar_url` - string - The user's avatar URL if they have set one. - `creation_ts` - integer - The user's creation timestamp in ms. + - `last_seen_ts` - integer - The user's last activity timestamp in ms. - `next_token`: string representing a positive integer - Indication for pagination. See above. - `total` - integer - Total number of media. |