summary refs log tree commit diff
path: root/synapse/rest/__init__.py
diff options
context:
space:
mode:
authorDavid Baker <dave@matrix.org>2016-05-23 18:33:51 +0100
committerDavid Baker <dave@matrix.org>2016-05-23 18:33:51 +0100
commita24bc5b2dc3a5d81cdfbe7be367dbb461d85b999 (patch)
tree594f9f3756483fe33880e0aba9fadf6e023dd58e /synapse/rest/__init__.py
parentRemove debug logging (diff)
downloadsynapse-a24bc5b2dc3a5d81cdfbe7be367dbb461d85b999.tar.xz
Add GET /notifications API
Diffstat (limited to 'synapse/rest/__init__.py')
-rw-r--r--synapse/rest/__init__.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/rest/__init__.py b/synapse/rest/__init__.py
index 8b223e032b..c729dee47a 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,
+    notifications,
 )
 
 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)
+        notifications.register_servlets(hs, client_resource)