mirror of
https://github.com/matrix-org/matrix-spec
synced 2025-12-22 17:28:38 +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/.
18 lines
436 B
Markdown
18 lines
436 B
Markdown
|
|
### Event Context
|
|
|
|
This API returns a number of events that happened just before and after
|
|
the specified event. This allows clients to get the context surrounding
|
|
an event.
|
|
|
|
#### Client behaviour
|
|
|
|
There is a single HTTP API for retrieving event context, documented
|
|
below.
|
|
|
|
{{% http-api spec="client-server" api="event_context" %}}
|
|
|
|
#### Security considerations
|
|
|
|
The server must only return results that the user has permission to see.
|