mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-12-10 07:50:02 -05:00
Add GET /notifications API
This commit is contained in:
parent
31b5395ab6
commit
a24bc5b2dc
4 changed files with 155 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue