From dd4ea948b69d4825920f90a60024571b5bed6e9f Mon Sep 17 00:00:00 2001 From: Tom Foster Date: Fri, 21 Feb 2025 09:53:43 +0000 Subject: [PATCH] Clarify why `avatar_url` and `displayname` can't be returned as `null` --- data/api/client-server/profile.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/data/api/client-server/profile.yaml b/data/api/client-server/profile.yaml index 837dc851f..b0f0f8f76 100644 --- a/data/api/client-server/profile.yaml +++ b/data/api/client-server/profile.yaml @@ -262,7 +262,8 @@ paths: summary: Get all profile information for a user. description: |- Get the complete profile for a user. The response includes `avatar_url` - and `displayname` (unless set to `null`) plus any custom profile fields. + and `displayname` (unless set to `null`, as they can only be strings) + plus any custom profile fields. **Note**: The complete profile must be under 64 KiB. operationId: getUserProfile