mirror of
https://github.com/element-hq/synapse.git
synced 2026-12-03 09:24:49 +00:00
deploy: e34fd1228d
This commit is contained in:
1 parent
1708706250
commit
eb845276b1
4 files changed
+14
-2
No files matched your search
@@ -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/<room_id>/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 "m.room.create". 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">{
|
||||
"state": [
|
||||
|
||||
Reference in new issue
Block a user