Skip to main contentModule space
Source use std::collections::BTreeSet; ๐ use std::collections::VecDeque; ๐ use std::convert::identity; ๐ use std::str::FromStr; ๐ use axum::extract::State; ๐ use futures::StreamExt; ๐ use futures::future::ready; ๐ use futures::stream::once; ๐ use futures::stream::unfold; ๐ use ruma::OwnedRoomId; ๐ use ruma::OwnedServerName; ๐ use ruma::RoomId; ๐ use ruma::UInt; ๐ use ruma::UserId; ๐ use ruma::api::client::space::get_hierarchy; ๐ use tuwunel_core::Err; ๐ use tuwunel_core::Result; ๐ use tuwunel_core::debug_error; ๐ use tuwunel_core::error; ๐ use tuwunel_core::error; ๐ use tuwunel_core::smallvec::SmallVec; ๐ use tuwunel_core::trace; ๐ use tuwunel_core::utils::BoolExt; ๐ use tuwunel_core::utils::stream::IterStream; ๐ use tuwunel_core::utils::stream::ReadyExt; ๐ use tuwunel_core::utils::stream::WidebandExt; ๐ use tuwunel_service::Services; ๐ use tuwunel_service::rooms::short::ShortRoomId; ๐ use tuwunel_service::rooms::spaces::Accessibility; ๐ use tuwunel_service::rooms::spaces::Identifier; ๐ use tuwunel_service::rooms::spaces::get_parent_children_via; ๐ use tuwunel_service::rooms::spaces::is_summary_serializable; ๐ use tuwunel_service::rooms::spaces::summary_to_chunk; ๐ use crate::Ruma; ๐
- HierarchyArgs
- Inputs for
get_client_hierarchy, shared by the client-server
/hierarchy route and the admin room-hierarchy endpoint.
- get_client_hierarchy
- Traverses a room hierarchy with the supplied visibility policy.
- get_hierarchy_route ๐
GET /_matrix/client/v1/rooms/{room_id}/hierarchy