Compare commits

...

3 commits

Author SHA1 Message Date
Peter Gervai c46267a752
Merge 59212cf842 into 32b1f0514d 2025-06-10 18:24:12 +01:00
Kévin Commaille 32b1f0514d
Clarify some string formats of room summary endpoint (#2158)
Some checks failed
Spec / 🔎 Validate OpenAPI specifications (push) Has been cancelled
Spec / 🔎 Check Event schema examples (push) Has been cancelled
Spec / 🔎 Check OpenAPI definitions examples (push) Has been cancelled
Spec / 🔎 Check JSON Schemas inline examples (push) Has been cancelled
Spec / ⚙️ Calculate baseURL for later jobs (push) Has been cancelled
Spec / 📢 Run towncrier for changelog (push) Has been cancelled
Spell Check / Spell Check with Typos (push) Has been cancelled
Spec / 🐍 Build OpenAPI definitions (push) Has been cancelled
Spec / 📖 Build the spec (push) Has been cancelled
Spec / 🔎 Validate generated HTML (push) Has been cancelled
Spec / 📖 Build the historical backup spec (push) Has been cancelled
2025-06-07 15:26:56 +02:00
Peter Gervai 59212cf842
Update proposals.md
Suggest how to number the draft before user have the PR/MSC ID, referring to the other guide.
2025-05-29 11:35:48 +02:00
5 changed files with 19 additions and 1 deletions

View file

@ -0,0 +1 @@
Add `/_matrix/client/v1/room_summary/{roomIdOrAlias}` and extend `/_matrix/client/v1/rooms/{roomId}/hierarchy` with the new optional properties `allowed_room_ids`, `encryption` and `room_version` as per [MSC3266](https://github.com/matrix-org/matrix-spec-proposals/pull/3266).

View file

@ -185,6 +185,10 @@ is as follows:
- Take care in creating your proposal. Specify your intended - Take care in creating your proposal. Specify your intended
changes, and give reasoning to back them up. Changes without changes, and give reasoning to back them up. Changes without
justification will likely be poorly received by the community. justification will likely be poorly received by the community.
- At the time of creating your draft there is no PR ID, so you
should use a placeholder number to name your file and edit that
after PR submission, the suggested steps are described in
detail [in the proposals guide](https://github.com/matrix-org/matrix-spec-proposals#1-writing-the-proposal).
- Fork and make a PR to the - Fork and make a PR to the
[matrix-spec-proposals](https://github.com/matrix-org/matrix-spec-proposals) repository. [matrix-spec-proposals](https://github.com/matrix-org/matrix-spec-proposals) repository.
The ID of your PR will become the MSC ID for the lifetime of your The ID of your PR will become the MSC ID for the lifetime of your

View file

@ -17,6 +17,8 @@ title: "PublishedRoomsChunk"
properties: properties:
canonical_alias: canonical_alias:
type: string type: string
format: mx-room-alias
pattern: "^#"
description: The canonical alias of the room, if any. description: The canonical alias of the room, if any.
example: "#general:example.org" example: "#general:example.org"
name: name:
@ -29,6 +31,8 @@ properties:
example: 42 example: 42
room_id: room_id:
type: string type: string
format: mx-room-id
pattern: "^!"
description: The ID of the room. description: The ID of the room.
example: "!abcdefg:example.org" example: "!abcdefg:example.org"
topic: topic:

View file

@ -27,6 +27,8 @@ allOf:
type: array type: array
items: items:
type: string type: string
format: mx-room-id
pattern: "^!"
description: |- description: |-
If the room is a [restricted room](/server-server-api/#restricted-rooms), these are the room IDs which If the room is a [restricted room](/server-server-api/#restricted-rooms), these are the room IDs which
are specified by the join rules. Empty or omitted otherwise. are specified by the join rules. Empty or omitted otherwise.

View file

@ -46,7 +46,13 @@ paths:
required: true required: true
example: "#monkeys:matrix.org" example: "#monkeys:matrix.org"
schema: schema:
type: string oneOf:
- type: string
format: mx-room-id
pattern: "^!"
- type: string
format: mx-room-alias
pattern: "^#"
- in: query - in: query
name: via name: via
description: |- description: |-
@ -60,6 +66,7 @@ paths:
type: array type: array
items: items:
type: string type: string
format: mx-server-name
responses: responses:
"200": "200":
description: A summary of the room. description: A summary of the room.