Clarify formats of string types for the GET /.well-known/matrix/support
endpoint (#1978)
This commit is contained in:
parent
6cd7038d01
commit
909c4614ac
3 changed files with 9 additions and 0 deletions
|
@ -0,0 +1 @@
|
|||
Clarify formats of string types.
|
|
@ -54,6 +54,8 @@ paths:
|
|||
properties:
|
||||
matrix_id:
|
||||
type: string
|
||||
format: mx-user-id
|
||||
pattern: "^@"
|
||||
description: |-
|
||||
A [Matrix User ID](/appendices/#user-identifiers)
|
||||
representing the administrator.
|
||||
|
@ -66,6 +68,7 @@ paths:
|
|||
required.
|
||||
email_address:
|
||||
type: string
|
||||
format: email
|
||||
description: |-
|
||||
An email address to reach the administrator.
|
||||
|
||||
|
@ -95,6 +98,7 @@ paths:
|
|||
}
|
||||
support_page:
|
||||
type: string
|
||||
format: uri
|
||||
description: |-
|
||||
The URL of a page to give users help specific to the
|
||||
homeserver, like extra login/registration steps.
|
||||
|
|
|
@ -64,3 +64,7 @@ mx-mxc-uri:
|
|||
uri:
|
||||
title: URI
|
||||
url: https://datatracker.ietf.org/doc/html/rfc3986
|
||||
|
||||
email:
|
||||
title: Email Address
|
||||
url: https://datatracker.ietf.org/doc/html/rfc5321#section-4.1.2
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue