Clarify that extra fields of space hierarchy children are not required (#1741)

* Clarify that extra fields of space hierarchy children are not required

There is no `children_state` field,
the `room_type` is only set for spaces
and the description of `allowed_room_ids` says that the field can be omitted.

Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
pull/1748/head
Kévin Commaille 2 months ago committed by GitHub
parent 542a219623
commit a1210ff6d1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -0,0 +1 @@
Clarify that the `children_state`, `room_type` and `allowed_room_ids` properties in the items of the `children` array of the response of the `GET /hierarchy` endpoint are not required.

@ -119,10 +119,6 @@ paths:
description: |-
If the room is a [restricted room](#restricted-rooms), these are the room IDs which
are specified by the join rules. Empty or omitted otherwise.
required:
- room_type
- allowed_room_ids
- children_state
inaccessible_children:
type: array
items:

Loading…
Cancel
Save