From df9d3e6991d191b82577fb29640eb1b19ebde2ff Mon Sep 17 00:00:00 2001 From: Tom Foster Date: Thu, 31 Jul 2025 14:18:26 +0100 Subject: [PATCH] Update data/api/client-server/profile.yaml Co-authored-by: Johannes Marbach --- data/api/client-server/profile.yaml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/data/api/client-server/profile.yaml b/data/api/client-server/profile.yaml index 6742f964..4dbc3d8b 100644 --- a/data/api/client-server/profile.yaml +++ b/data/api/client-server/profile.yaml @@ -80,9 +80,16 @@ paths: response: value: {} "400": - description: The request is malformed, contains invalid JSON, missing - a required parameter, specifies an invalid key, or exceeds allowed - size limits. + description: The input was invalid in some way. This can include one + of the following error codes: + + - `M_BAD_JSON`: The provided value is not valid JSON. + - `M_MISSING_PARAM`: The required `{keyName}` property is + missing from the request body. + - `M_PROFILE_TOO_LARGE`: Storing the supplied value would + make the profile exceed its maximum allowed size of 64 KiB. + - `M_KEY_TOO_LARGE`: The supplied profile key exceeds the + maximum allowed key length of 255 bytes. content: application/json: schema: