add("well_known_matrix_server", "/.well-known/matrix/server") ->controller([ServerDiscoveryController::class, "server"]); $routes ->add("well_known_matrix_client", "/.well-known/matrix/client") ->controller([ServerDiscoveryController::class, "client"]); $routes ->add("matrix_federation_version", "/_matrix/federation/v1/version") ->controller([ServerImplementationController::class, "version"]); # /_matrix/key/v2/server # /_matrix/key/v2/query # /_matrix/key/v2/query/{serverName} };