From 947cc30046b70f8d3207207febc15129ec99a8ad Mon Sep 17 00:00:00 2001 From: Tom Foster Date: Wed, 6 Aug 2025 07:50:24 +0100 Subject: [PATCH] Update data/api/client-server/profile.yaml Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com> --- data/api/client-server/profile.yaml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/data/api/client-server/profile.yaml b/data/api/client-server/profile.yaml index 0c519fa9..527475c6 100644 --- a/data/api/client-server/profile.yaml +++ b/data/api/client-server/profile.yaml @@ -164,12 +164,9 @@ paths: application/json: schema: type: object - 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. + description: | + An object with one property, whose key matches the `keyName` specified + in the URL, and whose value is the current setting of that profile field. additionalProperties: true examples: response: