This commit is contained in:
turt2live
2026-04-09 17:44:09 +00:00
parent c6dfd0d0ae
commit e88908e661
112 changed files with 173 additions and 111 deletions
+1 -1
View File
@@ -37,7 +37,7 @@
const path_to_root = "../";
const default_light_theme = "light";
const default_dark_theme = "navy";
window.path_to_searchindex_js = "../searchindex-fce8fe59.js";
window.path_to_searchindex_js = "../searchindex-214430a4.js";
</script>
<!-- Start loading toc.js asap -->
<script src="../toc-4dc10a98.js"></script>
@@ -37,7 +37,7 @@
const path_to_root = "../";
const default_light_theme = "light";
const default_dark_theme = "navy";
window.path_to_searchindex_js = "../searchindex-fce8fe59.js";
window.path_to_searchindex_js = "../searchindex-214430a4.js";
</script>
<!-- Start loading toc.js asap -->
<script src="../toc-4dc10a98.js"></script>
+1 -1
View File
@@ -37,7 +37,7 @@
const path_to_root = "../";
const default_light_theme = "light";
const default_dark_theme = "navy";
window.path_to_searchindex_js = "../searchindex-fce8fe59.js";
window.path_to_searchindex_js = "../searchindex-214430a4.js";
</script>
<!-- Start loading toc.js asap -->
<script src="../toc-4dc10a98.js"></script>
+1 -1
View File
@@ -37,7 +37,7 @@
const path_to_root = "../";
const default_light_theme = "light";
const default_dark_theme = "navy";
window.path_to_searchindex_js = "../searchindex-fce8fe59.js";
window.path_to_searchindex_js = "../searchindex-214430a4.js";
</script>
<!-- Start loading toc.js asap -->
<script src="../toc-4dc10a98.js"></script>
+1 -1
View File
@@ -37,7 +37,7 @@
const path_to_root = "../";
const default_light_theme = "light";
const default_dark_theme = "navy";
window.path_to_searchindex_js = "../searchindex-fce8fe59.js";
window.path_to_searchindex_js = "../searchindex-214430a4.js";
</script>
<!-- Start loading toc.js asap -->
<script src="../toc-4dc10a98.js"></script>
+26 -1
View File
@@ -37,7 +37,7 @@
const path_to_root = "../";
const default_light_theme = "light";
const default_dark_theme = "navy";
window.path_to_searchindex_js = "../searchindex-fce8fe59.js";
window.path_to_searchindex_js = "../searchindex-214430a4.js";
</script>
<!-- Start loading toc.js asap -->
<script src="../toc-4dc10a98.js"></script>
@@ -365,6 +365,31 @@ not want to get quarantined, especially when
<p>Response:</p>
<pre><code class="language-json">{}
</code></pre>
<h2 id="listing-quarantined-media-changes"><a class="header" href="#listing-quarantined-media-changes">Listing quarantined media changes</a></h2>
<p>When media is quarantined or unquarantined, a change record is created in the
database. This API returns those change records in the order they were created.</p>
<p><strong>Note</strong>: This API should be considered <em>best-effort</em> and expected to have missing or
duplicate records. Currently, this only captures any media explicitly (un)quarantined by
the media quarantine admin API, and the other cases are tracked by
https://github.com/element-hq/synapse/issues/19672. Historical media uploaded before
Synapse 1.152.0 is backfilled in a background update on a best-effort basis.</p>
<p>Each page has a maximum of 100 records. The first page has the oldest records,
paginating forwards with each <code>next_batch</code> value.</p>
<p>Request:</p>
<pre><code>GET /_synapse/admin/v1/media/quarantine_changes?from=2
</code></pre>
<p>Where <code>from</code> is the <code>next_batch</code> value from a previous request. It is optional
and defaults to the first page (the value <code>0</code>).</p>
<p>Response:</p>
<pre><code class="language-json">{
"next_batch": 4,
"changes": [
{ "origin": "example.org", "media_id": "abcdefg12345...", "quarantined": true },
{ "origin": "example.org", "media_id": "abcdefg12345...", "quarantined": false },
{ "origin": "another.example.org", "media_id": "abcdefg12345...", "quarantined": true }
]
}
</code></pre>
<h1 id="delete-local-media"><a class="header" href="#delete-local-media">Delete local media</a></h1>
<p>This API deletes the <em>local</em> media from the disk of your own server.
This includes any local thumbnails and copies of media downloaded from
+1 -1
View File
@@ -37,7 +37,7 @@
const path_to_root = "../";
const default_light_theme = "light";
const default_dark_theme = "navy";
window.path_to_searchindex_js = "../searchindex-fce8fe59.js";
window.path_to_searchindex_js = "../searchindex-214430a4.js";
</script>
<!-- Start loading toc.js asap -->
<script src="../toc-4dc10a98.js"></script>
+1 -1
View File
@@ -37,7 +37,7 @@
const path_to_root = "../";
const default_light_theme = "light";
const default_dark_theme = "navy";
window.path_to_searchindex_js = "../searchindex-fce8fe59.js";
window.path_to_searchindex_js = "../searchindex-214430a4.js";
</script>
<!-- Start loading toc.js asap -->
<script src="../toc-4dc10a98.js"></script>
+1 -1
View File
@@ -37,7 +37,7 @@
const path_to_root = "../";
const default_light_theme = "light";
const default_dark_theme = "navy";
window.path_to_searchindex_js = "../searchindex-fce8fe59.js";
window.path_to_searchindex_js = "../searchindex-214430a4.js";
</script>
<!-- Start loading toc.js asap -->
<script src="../toc-4dc10a98.js"></script>
+1 -1
View File
@@ -37,7 +37,7 @@
const path_to_root = "../";
const default_light_theme = "light";
const default_dark_theme = "navy";
window.path_to_searchindex_js = "../searchindex-fce8fe59.js";
window.path_to_searchindex_js = "../searchindex-214430a4.js";
</script>
<!-- Start loading toc.js asap -->
<script src="../toc-4dc10a98.js"></script>
+1 -1
View File
@@ -37,7 +37,7 @@
const path_to_root = "../";
const default_light_theme = "light";
const default_dark_theme = "navy";
window.path_to_searchindex_js = "../searchindex-fce8fe59.js";
window.path_to_searchindex_js = "../searchindex-214430a4.js";
</script>
<!-- Start loading toc.js asap -->
<script src="../toc-4dc10a98.js"></script>
+1 -1
View File
@@ -37,7 +37,7 @@
const path_to_root = "../";
const default_light_theme = "light";
const default_dark_theme = "navy";
window.path_to_searchindex_js = "../searchindex-fce8fe59.js";
window.path_to_searchindex_js = "../searchindex-214430a4.js";
</script>
<!-- Start loading toc.js asap -->
<script src="../toc-4dc10a98.js"></script>
+1 -1
View File
@@ -37,7 +37,7 @@
const path_to_root = "../";
const default_light_theme = "light";
const default_dark_theme = "navy";
window.path_to_searchindex_js = "../searchindex-fce8fe59.js";
window.path_to_searchindex_js = "../searchindex-214430a4.js";
</script>
<!-- Start loading toc.js asap -->
<script src="../toc-4dc10a98.js"></script>
+1 -1
View File
@@ -37,7 +37,7 @@
const path_to_root = "../";
const default_light_theme = "light";
const default_dark_theme = "navy";
window.path_to_searchindex_js = "../searchindex-fce8fe59.js";
window.path_to_searchindex_js = "../searchindex-214430a4.js";
</script>
<!-- Start loading toc.js asap -->
<script src="../toc-4dc10a98.js"></script>
+1 -1
View File
@@ -37,7 +37,7 @@
const path_to_root = "../";
const default_light_theme = "light";
const default_dark_theme = "navy";
window.path_to_searchindex_js = "../searchindex-fce8fe59.js";
window.path_to_searchindex_js = "../searchindex-214430a4.js";
</script>
<!-- Start loading toc.js asap -->
<script src="../toc-4dc10a98.js"></script>