Move x-addedInMatrixVersion for room_type to hierarchy endpoints

This commit is contained in:
Johannes Marbach 2025-06-04 08:48:17 +02:00
parent 762895f7e6
commit 5268f3df12
5 changed files with 6 additions and 4 deletions

View file

@ -61,7 +61,6 @@ properties:
example: "public"
room_type:
type: string
x-addedInMatrixVersion: "1.4"
description: |-
The `type` of room (from [`m.room.create`](/client-server-api/#mroomcreate)), if any.
required:

View file

@ -23,7 +23,6 @@ allOf:
description: The `type` of room (from
[`m.room.create`](/client-server-api/#mroomcreate)),
if any.
x-addedInMatrixVersion: "1.4"
allowed_room_ids:
type: array
items:

View file

@ -71,8 +71,6 @@ paths:
- $ref: ../client-server/definitions/room_summary.yaml
- type: object
properties:
room_type:
x-addedInMatrixVersion: # Overrides room_summary.yaml
membership:
description: |-
The membership state of the user if the user is joined to the room. Absent

View file

@ -125,6 +125,8 @@ paths:
description: The `origin_server_ts` for the event.
required:
- origin_server_ts
room_type:
x-addedInMatrixVersion: "1.4" # Extends room_summary.yaml
allowed_room_ids:
x-addedInMatrixVersion: "1.15" # Extends room_summary.yaml
encryption:

View file

@ -84,6 +84,8 @@ paths:
description: The `origin_server_ts` for the event.
required:
- origin_server_ts
room_type:
x-addedInMatrixVersion: "1.4" # Extends room_summary.yaml
encryption:
x-addedInMatrixVersion: "1.15" # Extends room_summary.yaml
room_version:
@ -101,6 +103,8 @@ paths:
- type: object
title: SpaceHierarchyChildRoomsChunk
properties:
room_type:
x-addedInMatrixVersion: "1.4" # Extends room_summary.yaml
encryption:
x-addedInMatrixVersion: "1.15" # Extends room_summary.yaml
room_version: