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:
|
schema:
|
||||||
type: object
|
type: object
|
||||||
minProperties: 1
|
minProperties: 1
|
||||||
additionalProperties:
|
description: If a value is stored for `keyName`, the JSON response
|
||||||
description: The JSON response includes a property whose key
|
includes a property whose key matches the `keyName` specified
|
||||||
matches the `keyName` specified in the URL. For `avatar_url`,
|
in the URL. For `avatar_url`, the value will be an MXC URI string.
|
||||||
the value will be an MXC URI string. For `displayname`, the
|
For `displayname`, the value will be a string. For custom keys, any
|
||||||
value will be a string. For custom keys, any JSON type is
|
JSON type is possible - clients should expect the format defined
|
||||||
possible - clients should expect the format defined for that key.
|
for that key.
|
||||||
|
additionalProperties: true
|
||||||
examples:
|
examples:
|
||||||
response:
|
response:
|
||||||
value: { "displayname": "Alice" }
|
value: { "displayname": "Alice" }
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue