Clarify string formats in Typing Notifications section of the CS API

Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
This commit is contained in:
Kévin Commaille 2026-05-08 11:51:42 +02:00
parent 9725a643d5
commit 69c3ad34a0
No known key found for this signature in database
GPG key ID: 03AEEC581F0139CE
2 changed files with 6 additions and 0 deletions

View file

@ -36,6 +36,8 @@ paths:
example: "@alice:example.com"
schema:
type: string
format: mx-user-id
pattern: "^@"
- in: path
name: roomId
description: The room in which the user is typing.
@ -43,6 +45,8 @@ paths:
example: "!wefh3sfukhs:example.com"
schema:
type: string
format: mx-room-id
pattern: "^!"
requestBody:
content:
application/json:

View file

@ -13,6 +13,8 @@ properties:
type: array
items:
type: string
format: mx-user-id
pattern: "^@"
description: The list of user IDs typing in this room, if any.
required:
- user_ids