mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-03-05 11:14:11 +01:00
Update data/api/client-server/profile.yaml
Co-authored-by: Johannes Marbach <n0-0ne+github@mailbox.org>
This commit is contained in:
parent
f5b9209443
commit
df9d3e6991
|
|
@ -80,9 +80,16 @@ paths:
|
||||||
response:
|
response:
|
||||||
value: {}
|
value: {}
|
||||||
"400":
|
"400":
|
||||||
description: The request is malformed, contains invalid JSON, missing
|
description: The input was invalid in some way. This can include one
|
||||||
a required parameter, specifies an invalid key, or exceeds allowed
|
of the following error codes:
|
||||||
size limits.
|
|
||||||
|
- `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:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue