Apply suggestions from code review

Signed-off-by: Logan Devine <logan@zirco.dev>

Co-authored-by: Kévin Commaille <76261501+zecakeh@users.noreply.github.com>
This commit is contained in:
Logan Devine 2026-05-01 10:42:42 -07:00 committed by Logan Devine
parent f9fcab129d
commit e3155ec85b
No known key found for this signature in database
GPG key ID: 6C154E1DBCF538F4

View file

@ -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: