mirror of
https://github.com/matrix-org/matrix-spec
synced 2025-12-20 16:38:37 +01:00
profile.yaml: require displayname/avatar_url
This makes a deliberate choice for the question stated in #2717.
This commit is contained in:
parent
c11991f9de
commit
f8bf0fa0ac
|
|
@ -56,6 +56,7 @@ paths:
|
|||
displayname:
|
||||
type: string
|
||||
description: The new display name for this user.
|
||||
required: ["displayname"]
|
||||
responses:
|
||||
200:
|
||||
description: The display name was set.
|
||||
|
|
@ -131,6 +132,7 @@ paths:
|
|||
type: string
|
||||
format: uri
|
||||
description: The new avatar URL for this user.
|
||||
required: ["avatar_url"]
|
||||
responses:
|
||||
200:
|
||||
description: The avatar URL was set.
|
||||
|
|
|
|||
Loading…
Reference in a new issue