diff options
author | DMRobertson <DMRobertson@users.noreply.github.com> | 2021-11-01 11:36:20 +0000 |
---|---|---|
committer | DMRobertson <DMRobertson@users.noreply.github.com> | 2021-11-01 11:36:20 +0000 |
commit | 6b78680875d9e721d46e4f3d34047c6a3fbd2f33 (patch) | |
tree | d64455b2305504485a55d2fec294620c72e6398d /develop/admin_api | |
parent | deploy: e320f5dba32f5b5818b6d5a0059ae388430b9a72 (diff) | |
download | synapse-6b78680875d9e721d46e4f3d34047c6a3fbd2f33.tar.xz |
deploy: ece84f2c450d986e54acc80971225fb02f4e1d05
Diffstat (limited to 'develop/admin_api')
-rw-r--r-- | develop/admin_api/event_reports.html | 4 | ||||
-rw-r--r-- | develop/admin_api/purge_history_api.html | 2 | ||||
-rw-r--r-- | develop/admin_api/room_membership.html | 2 | ||||
-rw-r--r-- | develop/admin_api/rooms.html | 8 |
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">{ "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>, 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">{ "delete_local_events": 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">{ "room_id": "!636q39766251:server.com" } </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 "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", |