Get all the public rooms for a homeserver

GET {{baseUrl}}/publicRooms?limit=10&since=GetMoreRoomsTokenHere&include_all_networks=false&third_party_instance_id=irc

Gets all the public rooms for the homeserver. This should not return rooms that are listed on another homeserver's directory, just those listed on the receiving homeserver's directory.

Request Params

KeyDatatypeRequiredDescription
limitnumberThe maximum number of rooms to return. Defaults to 0 (no limit).
sincestringA pagination token from a previous call to this endpoint to fetch more
rooms.
include_all_networksbooleanWhether or not to include all networks/protocols defined by application
services on the homeserver. Defaults to false.
third_party_instance_idstringThe specific third party network/protocol to request from the homeserver.
Can only be used if include_all_networks is false.

RESPONSES

status: OK

{}