synapse-product/synapse/rest
Patrick Cloke 1182ae5063
Add helper to parse an enum from query args & use it. (#14956)
The `parse_enum` helper pulls an enum value from the query string
(by delegating down to the parse_string helper with values generated
from the enum).

This is used to pull out "f" and "b" in most places and then we thread
the resulting Direction enum throughout more code.
2023-02-01 21:35:24 +00:00
..
admin Add helper to parse an enum from query args & use it. (#14956) 2023-02-01 21:35:24 +00:00
client Add helper to parse an enum from query args & use it. (#14956) 2023-02-01 21:35:24 +00:00
consent Remove HomeServer.get_datastore() (#12031) 2022-02-23 11:04:02 +00:00
key Use servlets for /key/ endpoints. (#14229) 2022-10-20 11:32:47 -04:00
media Prefer type(x) is int to isinstance(x, int) (#14945) 2023-01-31 10:33:07 +00:00
synapse Support OIDC backchannel logouts (#11414) 2022-10-31 13:07:30 -04:00
__init__.py Use ClientRestResource on both the main process and workers. (#14528) 2022-12-02 13:10:05 -05:00
health.py Add missing type hints to non-client REST servlets. (#10817) 2021-09-15 08:45:32 -04:00
models.py Use Pydantic to systematically validate a first batch of endpoints in synapse.rest.client.account. (#13188) 2022-08-15 19:05:57 +00:00
well_known.py Implementation of HTTP 307 response for MSC3886 POST endpoint (#14018) 2022-10-18 15:52:25 +00:00