mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-02-24 06:53:43 +01:00
Update data/api/client-server/profile.yaml
Co-authored-by: Johannes Marbach <n0-0ne+github@mailbox.org>
This commit is contained in:
parent
569c8aafa3
commit
5a082635f7
|
|
@ -156,12 +156,13 @@ paths:
|
|||
schema:
|
||||
type: object
|
||||
minProperties: 1
|
||||
additionalProperties:
|
||||
description: The JSON response includes a property whose key
|
||||
matches the `keyName` specified in the URL. For `avatar_url`,
|
||||
the value will be an MXC URI string. For `displayname`, the
|
||||
value will be a string. For custom keys, any JSON type is
|
||||
possible - clients should expect the format defined for that key.
|
||||
description: If a value is stored for `keyName`, the JSON response
|
||||
includes a property whose key matches the `keyName` specified
|
||||
in the URL. For `avatar_url`, the value will be an MXC URI string.
|
||||
For `displayname`, the value will be a string. For custom keys, any
|
||||
JSON type is possible - clients should expect the format defined
|
||||
for that key.
|
||||
additionalProperties: true
|
||||
examples:
|
||||
response:
|
||||
value: { "displayname": "Alice" }
|
||||
|
|
|
|||
Loading…
Reference in a new issue