mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-07-21 21:48:47 -04:00
Add a primitive helper script for listing worker endpoints. (#15243)
Co-authored-by: Patrick Cloke <patrickc@matrix.org>
This commit is contained in:
parent
3b0083c92a
commit
98fd558382
31 changed files with 424 additions and 12 deletions
|
@ -89,6 +89,7 @@ class KeyUploadServlet(RestServlet):
|
|||
"""
|
||||
|
||||
PATTERNS = client_patterns("/keys/upload(/(?P<device_id>[^/]+))?$")
|
||||
CATEGORY = "Encryption requests"
|
||||
|
||||
def __init__(self, hs: "HomeServer"):
|
||||
super().__init__()
|
||||
|
@ -182,6 +183,7 @@ class KeyQueryServlet(RestServlet):
|
|||
"""
|
||||
|
||||
PATTERNS = client_patterns("/keys/query$")
|
||||
CATEGORY = "Encryption requests"
|
||||
|
||||
def __init__(self, hs: "HomeServer"):
|
||||
super().__init__()
|
||||
|
@ -225,6 +227,7 @@ class KeyChangesServlet(RestServlet):
|
|||
"""
|
||||
|
||||
PATTERNS = client_patterns("/keys/changes$")
|
||||
CATEGORY = "Encryption requests"
|
||||
|
||||
def __init__(self, hs: "HomeServer"):
|
||||
super().__init__()
|
||||
|
@ -274,6 +277,7 @@ class OneTimeKeyServlet(RestServlet):
|
|||
"""
|
||||
|
||||
PATTERNS = client_patterns("/keys/claim$")
|
||||
CATEGORY = "Encryption requests"
|
||||
|
||||
def __init__(self, hs: "HomeServer"):
|
||||
super().__init__()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue