mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-03-12 06:24:09 +01:00
Clarify what profile endpoints return if avatar url / display name isn't set
This commit is contained in:
parent
630ce3d5c6
commit
542b17e944
|
|
@ -87,7 +87,7 @@ paths:
|
||||||
properties:
|
properties:
|
||||||
displayname:
|
displayname:
|
||||||
type: string
|
type: string
|
||||||
description: The user's display name if they have set one.
|
description: The user's display name if they have set one, otherwise null.
|
||||||
404:
|
404:
|
||||||
description: There is no display name for this user or this user does not exist.
|
description: There is no display name for this user or this user does not exist.
|
||||||
tags:
|
tags:
|
||||||
|
|
@ -161,7 +161,7 @@ paths:
|
||||||
properties:
|
properties:
|
||||||
avatar_url:
|
avatar_url:
|
||||||
type: string
|
type: string
|
||||||
description: The user's avatar URL if they have set one.
|
description: The user's avatar URL if they have set one, otherwise null.
|
||||||
404:
|
404:
|
||||||
description: There is no avatar URL for this user or this user does not exist.
|
description: There is no avatar URL for this user or this user does not exist.
|
||||||
tags:
|
tags:
|
||||||
|
|
@ -195,10 +195,10 @@ paths:
|
||||||
properties:
|
properties:
|
||||||
avatar_url:
|
avatar_url:
|
||||||
type: string
|
type: string
|
||||||
description: The user's avatar URL if they have set one.
|
description: The user's avatar URL if they have set one, otherwise null.
|
||||||
displayname:
|
displayname:
|
||||||
type: string
|
type: string
|
||||||
description: The user's display name if they have set one.
|
description: The user's display name if they have set one, otherwise null.
|
||||||
404:
|
404:
|
||||||
description: There is no profile information for this user or this user does not exist.
|
description: There is no profile information for this user or this user does not exist.
|
||||||
tags:
|
tags:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue