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/.
17 lines
436 B
Markdown
17 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.
|