This repository was archived by the owner on Apr 26, 2024. It is now read-only.
This repository was archived by the owner on Apr 26, 2024. It is now read-only.
Stabilize support for MSC2946: spaces summary #10946
Closed
Description
Once MSC2946 lands we should (at some point) switch to a stable endpoint and make some updates. There's few bits to this that we need to do:
Phase 1
- Support to the stable endpoint.
-
Require(This has always been correct.)limit
to be > 0. - Ensure the endpoint is ratelimited.
Phase 2
- Remove the fallback logic of
get_room_hierarchy
to request the/spaces
endpoint over federation. - Remove the
/spaces
client and federation endpoints (and corresponding code in the handlers). - Update the API responses to remove
allowed_spaces
(this was replaced withallowed_room_ids
). - Clean-up code around max-children, which is not used by the
/hierarchy
endpoint. - Remove
room_id
from the serializedchildren_state
, it is redundant and removed from the API response.
Phase 3
- Remove unstable
/hierarchy
client and federation endpoints. - Remove the typo
join_rules
field from the response.