mirror of
https://github.com/matrix-org/matrix-spec
synced 2025-12-21 17:08:36 +01:00
22 lines
445 B
Markdown
22 lines
445 B
Markdown
|
|
---
|
||
|
|
type: module
|
||
|
|
weight: 210
|
||
|
|
---
|
||
|
|
|
||
|
|
### 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.
|
||
|
|
|
||
|
|
{{event\_context\_cs\_http\_api}}
|
||
|
|
|
||
|
|
#### Security considerations
|
||
|
|
|
||
|
|
The server must only return results that the user has permission to see.
|