From e3155ec85b64d483ff195356512b90faac3e5d84 Mon Sep 17 00:00:00 2001 From: Logan Devine Date: Fri, 1 May 2026 10:42:42 -0700 Subject: [PATCH] Apply suggestions from code review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Logan Devine Co-authored-by: Kévin Commaille <76261501+zecakeh@users.noreply.github.com> --- data/api/client-server/mutual_rooms.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/data/api/client-server/mutual_rooms.yaml b/data/api/client-server/mutual_rooms.yaml index 1a7583c4..4d03d6a7 100644 --- a/data/api/client-server/mutual_rooms.yaml +++ b/data/api/client-server/mutual_rooms.yaml @@ -35,6 +35,8 @@ paths: example: "@alice:example.com" schema: type: string + format: mx-user-id + pattern: "^@" - in: query name: from required: false @@ -62,12 +64,14 @@ paths: membership of type `join`. items: type: string + format: mx-room-id + pattern: "^!" example: "!OGEhHVWSdvArJzumhm:matrix.org" count: type: integer description: |- The number of such rooms. This is the total count even if the response is - batched and joined doesn't include all rooms. This MAY be inaccurate + batched and `joined` doesn't include all rooms. This MAY be inaccurate if the server is unable to calculate the exact number of rooms. example: 1 next_batch: