mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-03-12 06:24:09 +01:00
The entries were text-less and not really helping anyone. They are included as pages because we need them for templating, but we don't need people to be able to land on them directly.
11 lines
404 B
Markdown
11 lines
404 B
Markdown
---
|
|
toc_hide: true
|
|
---
|
|
|
|
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.
|