matrix-cs
Resolve a room alias (client)
Changed onTurns a human-friendly room alias like #coffee:example.com into the actual room ID plus a list of servers that might know where it lives, because nobody memorizes a !opaque:id and clients still have to route the join somewhere. The r0 and v3 paths are the same handler; r0 is the legacy alias we keep alive for clients that never upgraded.
get/_matrix/client/r0/directory/room/{room_alias}
Request
- The document declares no server URL.
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
room_aliasstring required
Room alias to resolve, e.g. #room:server
Response
Room ID and the servers that can help you join
Changes
- info
endpoint added
- info
- breaking
api path removed without deprecation
- breaking