Clarify formats of string types for the POST /_matrix/client/v3/login
endpoint (#1980)
Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
This commit is contained in:
parent
f730987da6
commit
e0bd054373
2 changed files with 4 additions and 0 deletions
|
@ -0,0 +1 @@
|
||||||
|
Clarify formats of string types.
|
|
@ -172,6 +172,8 @@ paths:
|
||||||
properties:
|
properties:
|
||||||
user_id:
|
user_id:
|
||||||
type: string
|
type: string
|
||||||
|
format: mx-user-id
|
||||||
|
pattern: "^@"
|
||||||
description: The fully-qualified Matrix ID for the account.
|
description: The fully-qualified Matrix ID for the account.
|
||||||
access_token:
|
access_token:
|
||||||
type: string
|
type: string
|
||||||
|
@ -197,6 +199,7 @@ paths:
|
||||||
x-addedInMatrixVersion: "1.3"
|
x-addedInMatrixVersion: "1.3"
|
||||||
home_server:
|
home_server:
|
||||||
type: string
|
type: string
|
||||||
|
format: mx-server-name
|
||||||
deprecated: true
|
deprecated: true
|
||||||
description: |-
|
description: |-
|
||||||
The server_name of the homeserver on which the account has
|
The server_name of the homeserver on which the account has
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue