summary refs log tree commit diff
path: root/develop/admin_api
diff options
context:
space:
mode:
authorDMRobertson <DMRobertson@users.noreply.github.com>2021-11-01 11:36:20 +0000
committerDMRobertson <DMRobertson@users.noreply.github.com>2021-11-01 11:36:20 +0000
commit6b78680875d9e721d46e4f3d34047c6a3fbd2f33 (patch)
treed64455b2305504485a55d2fec294620c72e6398d /develop/admin_api
parentdeploy: e320f5dba32f5b5818b6d5a0059ae388430b9a72 (diff)
downloadsynapse-6b78680875d9e721d46e4f3d34047c6a3fbd2f33.tar.xz
deploy: ece84f2c450d986e54acc80971225fb02f4e1d05
Diffstat (limited to 'develop/admin_api')
-rw-r--r--develop/admin_api/event_reports.html4
-rw-r--r--develop/admin_api/purge_history_api.html2
-rw-r--r--develop/admin_api/room_membership.html2
-rw-r--r--develop/admin_api/rooms.html8
4 files changed, 8 insertions, 8 deletions
diff --git a/develop/admin_api/event_reports.html b/develop/admin_api/event_reports.html
index 30d526a8d1..907561dbd1 100644
--- a/develop/admin_api/event_reports.html
+++ b/develop/admin_api/event_reports.html
@@ -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">{
     &quot;event_id&quot;: &quot;$bNUFCwGzWca1meCGkjp-zwslF-GfVcXukvRLI1_FaVY&quot;,
     &quot;event_json&quot;: {
         &quot;auth_events&quot;: [
@@ -300,7 +300,7 @@ server admin: see <a href="../usage/administration/admin_api">Admin API</a>.</p>
         },
         &quot;type&quot;: &quot;m.room.message&quot;,
         &quot;unsigned&quot;: {
-            &quot;age_ts&quot;: 1592291711430,
+            &quot;age_ts&quot;: 1592291711430
         }
     },
     &quot;id&quot;: &lt;report_id&gt;,
diff --git a/develop/admin_api/purge_history_api.html b/develop/admin_api/purge_history_api.html
index f8ae5868d0..6a82f9ec9b 100644
--- a/develop/admin_api/purge_history_api.html
+++ b/develop/admin_api/purge_history_api.html
@@ -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">{
    &quot;delete_local_events&quot;: true
 }
 </code></pre>
diff --git a/develop/admin_api/room_membership.html b/develop/admin_api/room_membership.html
index c16ed2e015..595392bac1 100644
--- a/develop/admin_api/room_membership.html
+++ b/develop/admin_api/room_membership.html
@@ -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">{
   &quot;room_id&quot;: &quot;!636q39766251:server.com&quot;
 }
 </code></pre>
diff --git a/develop/admin_api/rooms.html b/develop/admin_api/rooms.html
index b17fb730ea..57118d6c5b 100644
--- a/develop/admin_api/rooms.html
+++ b/develop/admin_api/rooms.html
@@ -275,7 +275,7 @@ get the &quot;previous page&quot; 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">{
   &quot;rooms&quot;: [
     {
       &quot;room_id&quot;: &quot;!OGEhHVWSdvArJzumhm:matrix.org&quot;,
@@ -346,7 +346,7 @@ get the &quot;previous page&quot; 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">{
   &quot;rooms&quot;: [
     {
       &quot;room_id&quot;: &quot;!OGEhHVWSdvArJzumhm:matrix.org&quot;,
@@ -383,7 +383,7 @@ get the &quot;previous page&quot; of results.</li>
     }
   ],
   &quot;offset&quot;: 0,
-  &quot;total_rooms&quot;: 150
+  &quot;total_rooms&quot;: 150,
   &quot;next_token&quot;: 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&amp;from=100
 </code></pre>
 <p>A response body like the following is returned:</p>
-<pre><code class="language-jsonc">{
+<pre><code class="language-json">{
   &quot;rooms&quot;: [
     {
       &quot;room_id&quot;: &quot;!mscvqgqpHYjBGDxNym:matrix.org&quot;,