From 542b17e944eed8e4bae35290ac5de54064a2b623 Mon Sep 17 00:00:00 2001 From: David Baker Date: Wed, 3 Feb 2016 13:14:12 +0000 Subject: [PATCH] Clarify what profile endpoints return if avatar url / display name isn't set --- api/client-server/profile.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/api/client-server/profile.yaml b/api/client-server/profile.yaml index 2791714d..b60db0e6 100644 --- a/api/client-server/profile.yaml +++ b/api/client-server/profile.yaml @@ -87,7 +87,7 @@ paths: properties: displayname: 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: description: There is no display name for this user or this user does not exist. tags: @@ -161,7 +161,7 @@ paths: properties: avatar_url: 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: description: There is no avatar URL for this user or this user does not exist. tags: @@ -195,10 +195,10 @@ paths: properties: avatar_url: 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: 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: description: There is no profile information for this user or this user does not exist. tags: