mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-02-22 14:03:42 +01:00
This is actually doing two things:
* creating `{fragments,modules}/index.md` turns the fragments and modules into
page resources, rather than pages in their own right. We have to update the
shortcodes to match.
* adding `headless: true` means that we don't render the pages.
The net effect is that we don't render pages like
https://spec.matrix.org/v1.4/rooms/fragments/v1-auth-rules/ and
https://spec.matrix.org/v1.4/client-server-api/modules/account_data/.
8 lines
381 B
Markdown
8 lines
381 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.
|