mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-06 10:14:14 -04:00
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
This commit is contained in:
parent
2ca4e349e9
commit
48a1f4db31
5 changed files with 16 additions and 27 deletions
|
@ -390,7 +390,7 @@ class ClientIpStoreTestCase(unittest.HomeserverTestCase):
|
|||
class ClientIpAuthTestCase(unittest.HomeserverTestCase):
|
||||
|
||||
servlets = [
|
||||
synapse.rest.admin.register_servlets_for_client_rest_resource,
|
||||
synapse.rest.admin.register_servlets,
|
||||
login.register_servlets,
|
||||
]
|
||||
|
||||
|
@ -434,7 +434,7 @@ class ClientIpAuthTestCase(unittest.HomeserverTestCase):
|
|||
self.reactor,
|
||||
self.site,
|
||||
"GET",
|
||||
"/_synapse/admin/v1/users/" + self.user_id,
|
||||
"/_synapse/admin/v2/users/" + self.user_id,
|
||||
access_token=access_token,
|
||||
custom_headers=headers1.items(),
|
||||
**make_request_args,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue