mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-07-28 08:37:47 +02:00
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:
parent
f9fcab129d
commit
e3155ec85b
|
|
@ -35,6 +35,8 @@ paths:
|
||||||
example: "@alice:example.com"
|
example: "@alice:example.com"
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
|
format: mx-user-id
|
||||||
|
pattern: "^@"
|
||||||
- in: query
|
- in: query
|
||||||
name: from
|
name: from
|
||||||
required: false
|
required: false
|
||||||
|
|
@ -62,12 +64,14 @@ paths:
|
||||||
membership of type `join`.
|
membership of type `join`.
|
||||||
items:
|
items:
|
||||||
type: string
|
type: string
|
||||||
|
format: mx-room-id
|
||||||
|
pattern: "^!"
|
||||||
example: "!OGEhHVWSdvArJzumhm:matrix.org"
|
example: "!OGEhHVWSdvArJzumhm:matrix.org"
|
||||||
count:
|
count:
|
||||||
type: integer
|
type: integer
|
||||||
description: |-
|
description: |-
|
||||||
The number of such rooms. This is the total count even if the response is
|
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.
|
if the server is unable to calculate the exact number of rooms.
|
||||||
example: 1
|
example: 1
|
||||||
next_batch:
|
next_batch:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue