summary refs log tree commit diff
path: root/UPGRADE.rst
diff options
context:
space:
mode:
authorDirk Klimpel <5740567+dklimpel@users.noreply.github.com>2021-04-09 10:44:40 +0200
committerGitHub <noreply@github.com>2021-04-09 09:44:40 +0100
commit48a1f4db313026c79fbc7d9d950175693368d98b (patch)
treeea9511a5ad971e9d8755fcb8dbaf40f86351d85e /UPGRADE.rst
parentBugbear: Add Mutable Parameter fixes (#9682) (diff)
downloadsynapse-48a1f4db313026c79fbc7d9d950175693368d98b.tar.xz
Remove old admin API `GET /_synapse/admin/v1/users/<user_id>` (#9401)
Related: #8334
Deprecated in: #9429 - Synapse 1.28.0 (2021-02-25)

`GET /_synapse/admin/v1/users/<user_id>` has no
- unit tests
- documentation

API in v2 is available (#5925 - 12/2019, v1.7.0).
API is misleading. It expects `user_id` and returns a list of all users.

Signed-off-by: Dirk Klimpel dirk@klimpel.org
Diffstat (limited to 'UPGRADE.rst')
-rw-r--r--UPGRADE.rst13
1 files changed, 13 insertions, 0 deletions
diff --git a/UPGRADE.rst b/UPGRADE.rst
index ba488e1041..665821d4ef 100644
--- a/UPGRADE.rst
+++ b/UPGRADE.rst
@@ -85,6 +85,19 @@ for example:
      wget https://packages.matrix.org/debian/pool/main/m/matrix-synapse-py3/matrix-synapse-py3_1.3.0+stretch1_amd64.deb
      dpkg -i matrix-synapse-py3_1.3.0+stretch1_amd64.deb
 
+Upgrading to v1.32.0
+====================
+
+Removal of old List Accounts Admin API
+--------------------------------------
+
+The deprecated v1 "list accounts" admin API (``GET /_synapse/admin/v1/users/<user_id>``) has been removed in this version.
+
+The `v2 list accounts API <https://github.com/matrix-org/synapse/blob/master/docs/admin_api/user_admin_api.rst#list-accounts>`_
+has been available since Synapse 1.7.0 (2019-12-13), and is accessible under ``GET /_synapse/admin/v2/users``.
+
+The deprecation of the old endpoint was announced with Synapse 1.28.0 (released on 2021-02-25).
+
 Upgrading to v1.29.0
 ====================