diff options
author | David Baker <dbkr@users.noreply.github.com> | 2016-07-21 11:54:47 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-21 11:54:47 +0100 |
commit | 44adde498e07681e7ca4d672e3fa471865e92046 (patch) | |
tree | a7a3bf8ad3a6b4cd02d3dde34196626095b66191 /synapse/rest/__init__.py | |
parent | Merge pull request #938 from matrix-org/rav/add_device_id_to_client_ips (diff) | |
parent | Fix PEP8 errors (diff) | |
download | synapse-44adde498e07681e7ca4d672e3fa471865e92046.tar.xz |
Merge pull request #939 from matrix-org/rav/get_devices_api
GET /devices endpoint
Diffstat (limited to 'synapse/rest/__init__.py')
-rw-r--r-- | synapse/rest/__init__.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/rest/__init__.py b/synapse/rest/__init__.py index 8b223e032b..14227f1cdb 100644 --- a/synapse/rest/__init__.py +++ b/synapse/rest/__init__.py @@ -46,6 +46,7 @@ from synapse.rest.client.v2_alpha import ( account_data, report_event, openid, + devices, ) from synapse.http.server import JsonResource @@ -90,3 +91,4 @@ class ClientRestResource(JsonResource): account_data.register_servlets(hs, client_resource) report_event.register_servlets(hs, client_resource) openid.register_servlets(hs, client_resource) + devices.register_servlets(hs, client_resource) |