mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-03-14 07:24:11 +01:00
Clarify formats of string types in current account information section
Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
This commit is contained in:
parent
5192eff70f
commit
65343601fe
|
|
@ -44,6 +44,8 @@ paths:
|
||||||
properties:
|
properties:
|
||||||
user_id:
|
user_id:
|
||||||
type: string
|
type: string
|
||||||
|
format: mx-user-id
|
||||||
|
pattern: "^@"
|
||||||
description: The user ID that owns the access token.
|
description: The user ID that owns the access token.
|
||||||
device_id:
|
device_id:
|
||||||
x-addedInMatrixVersion: "1.1"
|
x-addedInMatrixVersion: "1.1"
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,10 @@ properties:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
base_url:
|
base_url:
|
||||||
type: string
|
anyOf:
|
||||||
|
- type: string
|
||||||
|
format: uri
|
||||||
|
- type: "null"
|
||||||
description: |-
|
description: |-
|
||||||
The URL of the identity server the user prefers to use, or `null`
|
The URL of the identity server the user prefers to use, or `null`
|
||||||
if the user does not want to use an identity server. This value is
|
if the user does not want to use an identity server. This value is
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue