You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Working on getting `/messages` to respond fast enough so we can load any day of messages in [Matrix Public Archive](https://github.com/matrix-org/matrix-public-archive) within 30s.
## Tracking issue #13147
This includes:
- any API in the matrix spec
- the admin API
- request bodies, probably easiest to validate with Pydantic
- url parameters and query strings---not sure how to validate these
`rg --case-sensitive "def .*(POST|PUT|DELETE|GET).*\(" synapse` gives a crude way to work out what needs to be done.
Related: #8445.
Not related: #12651. That's for Synapse's config only. (Though see https://pydantic-docs.helpmanual.io/usage/settings/)
I propose to use Pydantic for verifying payloads after deserialisation.