mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-04-19 09:34:09 +02:00
Update data/api/client-server/profile.yaml
Co-authored-by: Johannes Marbach <n0-0ne+github@mailbox.org>
This commit is contained in:
parent
5a082635f7
commit
b834933171
|
|
@ -61,13 +61,13 @@ paths:
|
||||||
schema:
|
schema:
|
||||||
type: object
|
type: object
|
||||||
minProperties: 1
|
minProperties: 1
|
||||||
additionalProperties:
|
description: The JSON object must include a property whose key
|
||||||
description: The JSON object must include a property whose key
|
matches the `keyName` specified in the URL. For `avatar_url`,
|
||||||
matches the `keyName` specified in the URL. For `avatar_url`,
|
the value must be an MXC URI string. For `displayname`, the value
|
||||||
the value must be an MXC URI string. For `displayname`, the value
|
must be a string. For custom keys, any JSON type is allowed -
|
||||||
must be a string. For custom keys, any JSON type is allowed -
|
servers may not validate these values, but clients should follow
|
||||||
servers may not validate these values, but clients should follow
|
the format defined for that key.
|
||||||
the format defined for that key.
|
additionalProperties: true
|
||||||
example: { "displayname": "Alice Wonderland" }
|
example: { "displayname": "Alice Wonderland" }
|
||||||
responses:
|
responses:
|
||||||
"200":
|
"200":
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue