mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-03-26 04:54:10 +01:00
BAD/NOT JSON round 2
This commit is contained in:
parent
999d7a5a15
commit
b66b1994a0
|
|
@ -73,7 +73,8 @@ paths:
|
|||
type: object
|
||||
400:
|
||||
description: |-
|
||||
The request body is not a JSON object. Errcode: `M_NOT_JSON`.
|
||||
The request body is not a JSON object. Errcode: `M_BAD_JSON`
|
||||
or `M_NOT_JSON`.
|
||||
examples:
|
||||
application/json: {
|
||||
"errcode": "M_NOT_JSON",
|
||||
|
|
@ -215,8 +216,9 @@ paths:
|
|||
type: object
|
||||
400:
|
||||
description: |-
|
||||
The request body is not a JSON object (errcode `M_NOT_JSON`), or the
|
||||
given `roomID` is not a valid room ID (errcode `M_INVALID_PARAM`).
|
||||
The request body is not a JSON object (errcode `M_BAD_JSON` or
|
||||
`M_NOT_JSON`), or the given `roomID` is not a valid room ID
|
||||
(errcode `M_INVALID_PARAM`).
|
||||
examples:
|
||||
application/json: {
|
||||
"errcode": "M_NOT_JSON",
|
||||
|
|
|
|||
Loading…
Reference in a new issue