From b60efa69dad9c8b1a4e2e306a59b470f10b3f670 Mon Sep 17 00:00:00 2001 From: richvdh Date: Wed, 16 Jun 2021 12:16:14 +0000 Subject: deploy: 0adc2882c1a67419207a500f00c41a94be51857a --- develop/admin_api/media_admin_api.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'develop/admin_api/media_admin_api.html') diff --git a/develop/admin_api/media_admin_api.html b/develop/admin_api/media_admin_api.html index 86a4c64a79..1f15479ba0 100644 --- a/develop/admin_api/media_admin_api.html +++ b/develop/admin_api/media_admin_api.html @@ -217,7 +217,7 @@ However, it only shows media from unencrypted events or rooms.

GET /_synapse/admin/v1/room/<room_id>/media
 

To use it, you will need to authenticate by providing an access_token for a -server admin: see Admin API.

+server admin: see Admin API.

The API returns a JSON body like the following:

{
   "local": [
@@ -414,7 +414,7 @@ All cached media that was last accessed before this timestamp will be removed.deleted: integer - The number of media items successfully deleted
 
 

To use it, you will need to authenticate by providing an access_token for a -server admin: see Admin API.

+server admin: see Admin API.

If the user re-requests purged remote media, synapse will re-request the media from the originating server.

-- cgit 1.5.1