summary refs log tree commit diff
path: root/synapse/rest/__init__.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-05-04 19:05:49 +0100
committerErik Johnston <erik@matrix.org>2016-05-04 19:05:49 +0100
commit97b914124520b81670a115c33fe0042cf15317dd (patch)
tree93f323a8bd724ff16533ba74288ac414d224c43e /synapse/rest/__init__.py
parentstarting point for doc on how log contexts are supposed to work (diff)
parentAdd primary key (diff)
downloadsynapse-97b914124520b81670a115c33fe0042cf15317dd.tar.xz
Merge pull request #762 from matrix-org/erikj/report_event
Add /report endpoint
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 6688fa8fa0..e805cb9111 100644
--- a/synapse/rest/__init__.py
+++ b/synapse/rest/__init__.py
@@ -44,6 +44,7 @@ from synapse.rest.client.v2_alpha import (
     tokenrefresh,
     tags,
     account_data,
+    report_event,
 )
 
 from synapse.http.server import JsonResource
@@ -86,3 +87,4 @@ class ClientRestResource(JsonResource):
         tokenrefresh.register_servlets(hs, client_resource)
         tags.register_servlets(hs, client_resource)
         account_data.register_servlets(hs, client_resource)
+        report_event.register_servlets(hs, client_resource)