mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-02-23 06:23:43 +01:00
Update data/api/client-server/profile.yaml
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
This commit is contained in:
parent
88697f7fd9
commit
ec7fa46581
|
|
@ -61,12 +61,16 @@ paths:
|
||||||
schema:
|
schema:
|
||||||
type: object
|
type: object
|
||||||
minProperties: 1
|
minProperties: 1
|
||||||
description: The JSON object must include a property whose key
|
description: |
|
||||||
matches the `keyName` specified in the URL. For `avatar_url`,
|
An object which contains exactly one property. The key
|
||||||
the value must be an MXC URI string. For `displayname`, the value
|
of that property MUST match the `keyName` specified in the URL.
|
||||||
must be a string. For custom keys, any JSON type is allowed -
|
|
||||||
servers may not validate these values, but clients should follow
|
For `avatar_url`, the value MUST be an MXC URI string.
|
||||||
the format defined for that key.
|
|
||||||
|
For `displayname`, the value MUST be a string.
|
||||||
|
|
||||||
|
For custom keys, any JSON type is allowed. Servers MAY not validate
|
||||||
|
these values, but clients SHOULD follow the format defined for that key.
|
||||||
additionalProperties: true
|
additionalProperties: true
|
||||||
example: { "displayname": "Alice Wonderland" }
|
example: { "displayname": "Alice Wonderland" }
|
||||||
responses:
|
responses:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue