mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-02-22 05:53:42 +01:00
Move x-addedInMatrixVersion for room_type to hierarchy endpoints
This commit is contained in:
parent
762895f7e6
commit
5268f3df12
|
|
@ -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:
|
||||||
|
|
|
||||||
|
|
@ -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:
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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:
|
||||||
|
|
|
||||||
|
|
@ -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:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue