summary refs log tree commit diff
path: root/docs/admin_api
diff options
context:
space:
mode:
authorMathieu Velten <mathieuv@matrix.org>2023-09-04 18:13:28 +0200
committerGitHub <noreply@github.com>2023-09-04 18:13:28 +0200
commitdcb27783417a1161c484525afb839233299b847f (patch)
treebc0833777c5caf4b1a35f644afdb090e05c6de3f /docs/admin_api
parentMerge branch 'master' into develop (diff)
downloadsynapse-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.md2
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.