summary refs log tree commit diff
path: root/develop/admin_api
diff options
context:
space:
mode:
authorreivilibre <reivilibre@users.noreply.github.com>2021-10-20 14:42:15 +0000
committerreivilibre <reivilibre@users.noreply.github.com>2021-10-20 14:42:15 +0000
commitc344b240502b90b4b58462c5dea858f37c62dfcf (patch)
treec4d83c9159e2f55803f5f95b019bad7a9b94b0b3 /develop/admin_api
parentdeploy: 106d99b8cd7ac63d9578c05cfdf7b8e9def9906d (diff)
downloadsynapse-c344b240502b90b4b58462c5dea858f37c62dfcf.tar.xz
deploy: 2c61a318cc46ec38e64d6a497f6077d23b9341bf
Diffstat (limited to 'develop/admin_api')
-rw-r--r--develop/admin_api/media_admin_api.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/develop/admin_api/media_admin_api.html b/develop/admin_api/media_admin_api.html
index 1dbcb90331..9bb617d322 100644
--- a/develop/admin_api/media_admin_api.html
+++ b/develop/admin_api/media_admin_api.html
@@ -371,9 +371,9 @@ See also <a href="#purge-remote-media-api">Purge Remote Media API</a>.</p>
 <p>URL Parameters</p>
 <ul>
 <li><code>server_name</code>: string - The name of your local server (e.g <code>matrix.org</code>).</li>
-<li><code>before_ts</code>: string representing a positive integer - Unix timestamp in ms.
+<li><code>before_ts</code>: string representing a positive integer - Unix timestamp in milliseconds.
 Files that were last used before this timestamp will be deleted. It is the timestamp of
-last access and not the timestamp creation.</li>
+last access, not the timestamp when the file was created.</li>
 <li><code>size_gt</code>: Optional - string representing a positive integer - Size of the media in bytes.
 Files that are larger will be deleted. Defaults to <code>0</code>.</li>
 <li><code>keep_profiles</code>: Optional - string representing a boolean - Switch to also delete files
@@ -406,7 +406,7 @@ If <code>false</code> these files will be deleted. Defaults to <code>true</code>
 </code></pre>
 <p>URL Parameters</p>
 <ul>
-<li><code>unix_timestamp_in_ms</code>: string representing a positive integer - Unix timestamp in ms.
+<li><code>unix_timestamp_in_ms</code>: string representing a positive integer - Unix timestamp in milliseconds.
 All cached media that was last accessed before this timestamp will be removed.</li>
 </ul>
 <p>Response:</p>