mirror of
https://github.com/matrix-org/matrix-spec
synced 2025-12-20 16:38:37 +01:00
Fix the type of children in the /hierarchy S-S API. (#3660)
* Fix the type of children in the /hierarchy S-S API. * Newsfragment
This commit is contained in:
parent
b6b98410c1
commit
fff5f87c3d
1
changelogs/server_server/newsfragments/3660.new
Normal file
1
changelogs/server_server/newsfragments/3660.new
Normal file
|
|
@ -0,0 +1 @@
|
|||
Add the Space Hierarchy API (`GET /_matrix/federation/v1/hierarchy/{roomId}`) as per [MSC2946](https://github.com/matrix-org/matrix-doc/pull/2946).
|
||||
|
|
@ -160,9 +160,11 @@ paths:
|
|||
required: [origin_server_ts]
|
||||
required: [room_type, allowed_room_ids, children_state]
|
||||
children:
|
||||
type: array
|
||||
description: |-
|
||||
A summary of the space's children. Rooms which the requesting server cannot peek/join will
|
||||
be excluded.
|
||||
items:
|
||||
allOf:
|
||||
- $ref: "../client-server/definitions/public_rooms_chunk.yaml"
|
||||
- type: object
|
||||
|
|
|
|||
Loading…
Reference in a new issue