diff options
author | Luke Barnard <lukeb@openmarket.com> | 2017-03-13 16:45:38 +0000 |
---|---|---|
committer | Luke Barnard <lukeb@openmarket.com> | 2017-03-13 16:45:38 +0000 |
commit | c077c3277b30968933a394bf8c2675cb4f9bf671 (patch) | |
tree | 29c148806bbb961b2230ca27b47c01a3d46f5382 /synapse/rest/client/v2_alpha/devices.py | |
parent | Implement delete_devices API (diff) | |
download | synapse-c077c3277b30968933a394bf8c2675cb4f9bf671.tar.xz |
Flake
Diffstat (limited to 'synapse/rest/client/v2_alpha/devices.py')
-rw-r--r-- | synapse/rest/client/v2_alpha/devices.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/rest/client/v2_alpha/devices.py b/synapse/rest/client/v2_alpha/devices.py index 2560da141e..fd9516a601 100644 --- a/synapse/rest/client/v2_alpha/devices.py +++ b/synapse/rest/client/v2_alpha/devices.py @@ -45,6 +45,7 @@ class DevicesRestServlet(servlet.RestServlet): ) defer.returnValue((200, {"devices": devices})) + class DeleteDevicesRestServlet(servlet.RestServlet): PATTERNS = client_v2_patterns("/delete_devices", releases=[], v2_alpha=False) @@ -92,6 +93,7 @@ class DeleteDevicesRestServlet(servlet.RestServlet): ) defer.returnValue((200, {})) + class DeviceRestServlet(servlet.RestServlet): PATTERNS = client_v2_patterns("/devices/(?P<device_id>[^/]*)$", releases=[], v2_alpha=False) |