diff options
author | reivilibre <oliverw@matrix.org> | 2023-03-23 12:11:14 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-23 12:11:14 +0000 |
commit | 98fd558382226b347d78e5f6e6782c6e74c25e69 (patch) | |
tree | ec4c7ef0999d40dd47e0c29ac645901b86efd7c5 /synapse/rest/client/relations.py | |
parent | Use immutabledict instead of frozendict (#15113) (diff) | |
download | synapse-98fd558382226b347d78e5f6e6782c6e74c25e69.tar.xz |
Add a primitive helper script for listing worker endpoints. (#15243)
Co-authored-by: Patrick Cloke <patrickc@matrix.org>
Diffstat (limited to 'synapse/rest/client/relations.py')
-rw-r--r-- | synapse/rest/client/relations.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/rest/client/relations.py b/synapse/rest/client/relations.py index 7456d6f507..b8b296bc0c 100644 --- a/synapse/rest/client/relations.py +++ b/synapse/rest/client/relations.py @@ -42,6 +42,7 @@ class RelationPaginationServlet(RestServlet): "(/(?P<relation_type>[^/]*)(/(?P<event_type>[^/]*))?)?$", releases=("v1",), ) + CATEGORY = "Client API requests" def __init__(self, hs: "HomeServer"): super().__init__() @@ -84,6 +85,7 @@ class RelationPaginationServlet(RestServlet): class ThreadsServlet(RestServlet): PATTERNS = (re.compile("^/_matrix/client/v1/rooms/(?P<room_id>[^/]*)/threads"),) + CATEGORY = "Client API requests" def __init__(self, hs: "HomeServer"): super().__init__() |