deploy: ece84f2c45
This commit is contained in:
@@ -268,7 +268,7 @@ have a canonical alias set.</li>
|
||||
<p>To use it, you will need to authenticate by providing an <code>access_token</code> for a
|
||||
server admin: see <a href="../usage/administration/admin_api">Admin API</a>.</p>
|
||||
<p>It returns a JSON body like the following:</p>
|
||||
<pre><code class="language-jsonc">{
|
||||
<pre><code class="language-json">{
|
||||
"event_id": "$bNUFCwGzWca1meCGkjp-zwslF-GfVcXukvRLI1_FaVY",
|
||||
"event_json": {
|
||||
"auth_events": [
|
||||
@@ -300,7 +300,7 @@ server admin: see <a href="../usage/administration/admin_api">Admin API</a>.</p>
|
||||
},
|
||||
"type": "m.room.message",
|
||||
"unsigned": {
|
||||
"age_ts": 1592291711430,
|
||||
"age_ts": 1592291711430
|
||||
}
|
||||
},
|
||||
"id": <report_id>,
|
||||
|
||||
@@ -200,7 +200,7 @@ the only copies of this content in existence. (Events sent by remote users are
|
||||
deleted.)</p>
|
||||
<p>Room state data (such as joins, leaves, topic) is always preserved.</p>
|
||||
<p>To delete local message events as well, set <code>delete_local_events</code> in the body:</p>
|
||||
<pre><code>{
|
||||
<pre><code class="language-json">{
|
||||
"delete_local_events": true
|
||||
}
|
||||
</code></pre>
|
||||
|
||||
@@ -204,7 +204,7 @@ invite users.</p>
|
||||
<p>To use it, you will need to authenticate by providing an <code>access_token</code> for a
|
||||
server admin: see <a href="../usage/administration/admin_api">Admin API</a>.</p>
|
||||
<p>Response:</p>
|
||||
<pre><code>{
|
||||
<pre><code class="language-json">{
|
||||
"room_id": "!636q39766251:server.com"
|
||||
}
|
||||
</code></pre>
|
||||
|
||||
@@ -275,7 +275,7 @@ get the "previous page" of results.</li>
|
||||
<pre><code>GET /_synapse/admin/v1/rooms
|
||||
</code></pre>
|
||||
<p>A response body like the following is returned:</p>
|
||||
<pre><code class="language-jsonc">{
|
||||
<pre><code class="language-json">{
|
||||
"rooms": [
|
||||
{
|
||||
"room_id": "!OGEhHVWSdvArJzumhm:matrix.org",
|
||||
@@ -346,7 +346,7 @@ get the "previous page" of results.</li>
|
||||
<pre><code>GET /_synapse/admin/v1/rooms?order_by=size
|
||||
</code></pre>
|
||||
<p>A response body like the following is returned:</p>
|
||||
<pre><code class="language-jsonc">{
|
||||
<pre><code class="language-json">{
|
||||
"rooms": [
|
||||
{
|
||||
"room_id": "!OGEhHVWSdvArJzumhm:matrix.org",
|
||||
@@ -383,7 +383,7 @@ get the "previous page" of results.</li>
|
||||
}
|
||||
],
|
||||
"offset": 0,
|
||||
"total_rooms": 150
|
||||
"total_rooms": 150,
|
||||
"next_token": 100
|
||||
}
|
||||
</code></pre>
|
||||
@@ -394,7 +394,7 @@ parameter to the value of <code>next_token</code>.</p>
|
||||
<pre><code>GET /_synapse/admin/v1/rooms?order_by=size&from=100
|
||||
</code></pre>
|
||||
<p>A response body like the following is returned:</p>
|
||||
<pre><code class="language-jsonc">{
|
||||
<pre><code class="language-json">{
|
||||
"rooms": [
|
||||
{
|
||||
"room_id": "!mscvqgqpHYjBGDxNym:matrix.org",
|
||||
|
||||
Reference in New Issue
Block a user