This commit is contained in:
richvdh 2021-07-07 12:06:42 +00:00
parent c2676b8db3
commit 08c8605807
2 changed files with 4 additions and 4 deletions

View File

@ -232,7 +232,7 @@ server admin: see <a href="../usage/administration/admin_api">Admin API</a>.</p>
</code></pre> </code></pre>
<h2 id="list-all-media-uploaded-by-a-user"><a class="header" href="#list-all-media-uploaded-by-a-user">List all media uploaded by a user</a></h2> <h2 id="list-all-media-uploaded-by-a-user"><a class="header" href="#list-all-media-uploaded-by-a-user">List all media uploaded by a user</a></h2>
<p>Listing all media that has been uploaded by a local user can be achieved through <p>Listing all media that has been uploaded by a local user can be achieved through
the use of the <a href="user_admin_api.rst#list-media-of-a-user">List media of a user</a> the use of the <a href="user_admin_api.html#list-media-of-a-user">List media of a user</a>
Admin API.</p> Admin API.</p>
<h1 id="quarantine-media"><a class="header" href="#quarantine-media">Quarantine media</a></h1> <h1 id="quarantine-media"><a class="header" href="#quarantine-media">Quarantine media</a></h1>
<p>Quarantining media means that it is marked as inaccessible by users. It applies <p>Quarantining media means that it is marked as inaccessible by users. It applies
@ -371,7 +371,7 @@ See also <a href="#purge-remote-media-api">Purge Remote Media API</a>.</p>
<li><code>server_name</code>: string - The name of your local server (e.g <code>matrix.org</code>).</li> <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 ms.
Files that were last used before this timestamp will be deleted. It is the timestamp of 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 and not the timestamp creation.</li>
<li><code>size_gt</code>: Optional - string representing a positive integer - Size of the media in bytes. <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> 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 <li><code>keep_profiles</code>: Optional - string representing a boolean - Switch to also delete files

View File

@ -8626,7 +8626,7 @@ server admin: see <a href="admin_api/../usage/administration/admin_api">Admin AP
</code></pre> </code></pre>
<h2 id="list-all-media-uploaded-by-a-user"><a class="header" href="#list-all-media-uploaded-by-a-user">List all media uploaded by a user</a></h2> <h2 id="list-all-media-uploaded-by-a-user"><a class="header" href="#list-all-media-uploaded-by-a-user">List all media uploaded by a user</a></h2>
<p>Listing all media that has been uploaded by a local user can be achieved through <p>Listing all media that has been uploaded by a local user can be achieved through
the use of the <a href="admin_api/user_admin_api.rst#list-media-of-a-user">List media of a user</a> the use of the <a href="admin_api/user_admin_api.html#list-media-of-a-user">List media of a user</a>
Admin API.</p> Admin API.</p>
<h1 id="quarantine-media"><a class="header" href="#quarantine-media">Quarantine media</a></h1> <h1 id="quarantine-media"><a class="header" href="#quarantine-media">Quarantine media</a></h1>
<p>Quarantining media means that it is marked as inaccessible by users. It applies <p>Quarantining media means that it is marked as inaccessible by users. It applies
@ -8765,7 +8765,7 @@ See also <a href="admin_api/media_admin_api.html#purge-remote-media-api">Purge R
<li><code>server_name</code>: string - The name of your local server (e.g <code>matrix.org</code>).</li> <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 ms.
Files that were last used before this timestamp will be deleted. It is the timestamp of 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 and not the timestamp creation.</li>
<li><code>size_gt</code>: Optional - string representing a positive integer - Size of the media in bytes. <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> 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 <li><code>keep_profiles</code>: Optional - string representing a boolean - Switch to also delete files