mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-04-29 13:54:10 +02:00
* Fully specify room versions * Misc typo clarifications * Try to clarify redactions a bit * Update content/client-server-api/_index.md Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com> * Update content/rooms/v6.md Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com> * Update content/rooms/v6.md Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com> * Better describe client considerations * Doc template params * Move redaction "new stuff" to v3 * Remove unhelpful sentences about "here follows unchanged stuff" * Simplify event signing text * Clean up handling redactions sections * Move v4's event schema to unchanged section * Update content/rooms/v4.md Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com> Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
7 lines
380 B
Markdown
7 lines
380 B
Markdown
Servers MUST strictly enforce the JSON format specified in the
|
|
[appendices](/appendices#canonical-json). This translates to a
|
|
400 `M_BAD_JSON` error on most endpoints, or discarding of events over
|
|
federation. For example, the Federation API's `/send` endpoint would
|
|
discard the event whereas the Client Server API's `/send/{eventType}`
|
|
endpoint would return a `M_BAD_JSON` error.
|