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
Key | Datatype | Required | Description |
---|---|---|---|
limit | number | The maximum number of rooms to return. Defaults to 0 (no limit). | |
since | string | A pagination token from a previous call to this endpoint to fetch more | |
rooms. | |||
include_all_networks | boolean | Whether or not to include all networks/protocols defined by application | |
services on the homeserver. Defaults to false. | |||
third_party_instance_id | string | The specific third party network/protocol to request from the homeserver. | |
Can only be used if include_all_networks is false. |
RESPONSES
status: OK
{}