Skip to main content

admin_purge_media_cache_route

Function admin_purge_media_cache_route 

Source
pub(crate) async fn admin_purge_media_cache_route(
    __arg0: State<State>,
    body: Ruma<Request>,
) -> Result<Response>
Expand description

ยงPOST /_synapse/admin/v1/purge_media_cache

Purges cached remote media older than before_ts. The cutoff compares file modification time; last-access times are not tracked.