Add GET /notifications API

This commit is contained in:
David Baker 2016-05-23 18:33:51 +01:00
parent 31b5395ab6
commit a24bc5b2dc
4 changed files with 155 additions and 0 deletions

View file

@ -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)