summary refs log tree commit diff
path: root/latest/admin_api/rooms.html
diff options
context:
space:
mode:
Diffstat (limited to 'latest/admin_api/rooms.html')
-rw-r--r--latest/admin_api/rooms.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/latest/admin_api/rooms.html b/latest/admin_api/rooms.html

index 5a625143a6..674b2c1f29 100644 --- a/latest/admin_api/rooms.html +++ b/latest/admin_api/rooms.html
@@ -206,6 +206,14 @@ Specifically, rooms are selected if the search term is contained in</p> <li>the local part of the room's canonical alias, or</li> <li>the complete (local and server part) room's id (case sensitive).</li> </ul> +</li> +<li> +<p><code>public_rooms</code> - Optional flag to filter public rooms. If <code>true</code>, only public rooms are queried. If <code>false</code>, public rooms are excluded from +the query. When the flag is absent (the default), <strong>both</strong> public and non-public rooms are included in the search results.</p> +</li> +<li> +<p><code>empty_rooms</code> - Optional flag to filter empty rooms. A room is empty if joined_members is zero. If <code>true</code>, only empty rooms are queried. If <code>false</code>, empty rooms are excluded from +the query. When the flag is absent (the default), <strong>both</strong> empty and non-empty rooms are included in the search results.</p> <p>Defaults to no filtering.</p> </li> </ul>