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" example: "public"
room_type: room_type:
type: string type: string
x-addedInMatrixVersion: "1.4"
description: |- description: |-
The `type` of room (from [`m.room.create`](/client-server-api/#mroomcreate)), if any. The `type` of room (from [`m.room.create`](/client-server-api/#mroomcreate)), if any.
required: required:

View file

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

View file

@ -71,8 +71,6 @@ paths:
- $ref: ../client-server/definitions/room_summary.yaml - $ref: ../client-server/definitions/room_summary.yaml
- type: object - type: object
properties: properties:
room_type:
x-addedInMatrixVersion: # Overrides room_summary.yaml
membership: membership:
description: |- description: |-
The membership state of the user if the user is joined to the room. Absent 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. description: The `origin_server_ts` for the event.
required: required:
- origin_server_ts - origin_server_ts
room_type:
x-addedInMatrixVersion: "1.4" # Extends room_summary.yaml
allowed_room_ids: allowed_room_ids:
x-addedInMatrixVersion: "1.15" # Extends room_summary.yaml x-addedInMatrixVersion: "1.15" # Extends room_summary.yaml
encryption: encryption:

View file

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