Update data/api/client-server/profile.yaml

Co-authored-by: Johannes Marbach <n0-0ne+github@mailbox.org>
pull/2212/head
Hugh Nimmo-Smith 2 months ago committed by GitHub
parent bf08e68af7
commit 8cb0b3e7f6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -31,9 +31,9 @@ paths:
field, including its key and value, SHOULD use the `DELETE` endpoint instead. field, including its key and value, SHOULD use the `DELETE` endpoint instead.
This endpoint uses [capabilities negotiation](/client-server-api/#capabilities-negotiation) This endpoint uses [capabilities negotiation](/client-server-api/#capabilities-negotiation)
depending on the `keyName`. depending on the `keyName`. Clients SHOULD check the value of the
For the `displayname` key, clients SHOULD check the value of the [`m.set_displayname` capability](/client-server-api/#mset_displayname-capability). [`m.profile_fields` capability](/client-server-api/#mprofile_fields-capability) to detect
For the `avatar_url` key, clients SHOULD check the value of the [`m.set_avatar_url` capability](/client-server-api/#mset_avatar_url-capability). which `keyName`s they are allowed to modify.
operationId: setProfileField operationId: setProfileField
security: security:
- accessTokenQuery: [] - accessTokenQuery: []

Loading…
Cancel
Save