mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-03-23 19:44:09 +01:00
Remove additionalProperties: {} and note in description
This commit is contained in:
parent
8d31089254
commit
186abbfb60
|
|
@ -1 +1 @@
|
||||||
Update response schema of `GET /_matrix/client/v3/profile/{userId}` to clarify that properties other than `displayname` or `avatar_url` can be returned.
|
Don't mention that `GET /_matrix/client/v3/profile/{userId}` can return additional properties because this is true for almost every endpoint.
|
||||||
|
|
|
||||||
|
|
@ -195,8 +195,7 @@ paths:
|
||||||
description: |-
|
description: |-
|
||||||
Get the combined profile information for this user. This API may be used
|
Get the combined profile information for this user. This API may be used
|
||||||
to fetch the user's own profile information or other users; either
|
to fetch the user's own profile information or other users; either
|
||||||
locally or on remote homeservers. This API may return keys which are not
|
locally or on remote homeservers.
|
||||||
limited to `displayname` or `avatar_url`.
|
|
||||||
operationId: getUserProfile
|
operationId: getUserProfile
|
||||||
parameters:
|
parameters:
|
||||||
- in: path
|
- in: path
|
||||||
|
|
@ -222,7 +221,6 @@ paths:
|
||||||
type: string
|
type: string
|
||||||
description: The user's display name if they have set one, otherwise not
|
description: The user's display name if they have set one, otherwise not
|
||||||
present.
|
present.
|
||||||
additionalProperties: {}
|
|
||||||
examples:
|
examples:
|
||||||
response:
|
response:
|
||||||
value: {
|
value: {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue