Expand description
Synapse admin API: media endpoints.
ModulesΒ§
- delete_
media π - delete_
media_ πby_ date_ size - delete_
user_ πmedia - list_
room_ πmedia - list_
user_ πmedia - purge_
media_ πcache - query_
media π - user_
media_ πstatistics
EnumsΒ§
- Column π
- Sort field selector, mapping the wire
order_byonto the derivable columns. - SortKey π
- Sort key for a media row under the requested
order_bycolumn.
ConstantsΒ§
- MIN_
BEFORE_ πTS - Rejects a
before_tsearlier than this, mirroring Synapseβs βyear 1970β lower bound on the millisecond cutoff.
FunctionsΒ§
- column_
of π - direction_
of π - Default direction is newest first (
Backward) when the client sets neitherorder_bynordir, matching Synapseβs back-compat behaviour. - paginate π
- select_
page π - Selects one page of a userβs media, applying the same sort, direction, and windowing as Synapseβs shared list/delete selection.
- sort_
key π - usize_
from π