1
0
This commit is contained in:
anoadragon453
2025-01-08 15:40:11 +00:00
parent 1708706250
commit eb845276b1
4 changed files with 14 additions and 2 deletions

View File

@@ -516,6 +516,12 @@ If the room does not define a type, the value will be <code>null</code>.</li>
<p>The API is:</p>
<pre><code>GET /_synapse/admin/v1/rooms/&lt;room_id&gt;/state
</code></pre>
<p><strong>Parameters</strong></p>
<p>The following query parameter is available:</p>
<ul>
<li><code>type</code> - The type of room state event to filter by, eg &quot;m.room.create&quot;. If provided, only state events
of this type will be returned (regardless of their <code>state_key</code> value).</li>
</ul>
<p>A response body like the following is returned:</p>
<pre><code class="language-json">{
&quot;state&quot;: [