1
0
Fork 0
mirror of https://gitlab.com/famedly/conduit.git synced 2025-06-27 16:35:59 +00:00

Add client space api '/rooms/{roomId}/hierarchy'

This commit is contained in:
chenyuqide 2022-04-10 18:57:15 +08:00 committed by Nyaaori
parent d2cc9e105a
commit 03029711fe
No known key found for this signature in database
GPG key ID: E7819C3ED4D1F82E
3 changed files with 245 additions and 0 deletions

View file

@ -318,6 +318,7 @@ fn routes() -> Router {
.ruma_route(client_server::send_state_event_for_key_route)
.ruma_route(client_server::get_state_events_route)
.ruma_route(client_server::get_state_events_for_key_route)
.ruma_route(client_server::get_hierarchy_route)
// Ruma doesn't have support for multiple paths for a single endpoint yet, and these routes
// share one Ruma request / response type pair with {get,send}_state_event_for_key_route
.route(