diff --git a/src/Impostor.Server/Http/GamesController.cs b/src/Impostor.Server/Http/GamesController.cs index d7310e5c..e1aad79c 100644 --- a/src/Impostor.Server/Http/GamesController.cs +++ b/src/Impostor.Server/Http/GamesController.cs @@ -113,6 +113,23 @@ public sealed class GamesController : ControllerBase return Ok(new FindGameByCodeResponse(GameListingV2.From(game))); } + [HttpGet("filtered")] + public IActionResult ShowFilteredLobbies() + { + // TODO: implement this stub + var response = new + { + games = Array.Empty(), + metadata = new + { + allGamesCount = _gameManager.Games.Count(), + matchingGamesCount = 0, + }, + }; + + return Ok(response); + } + private static uint ConvertAddressToNumber(IPAddress address) { #pragma warning disable CS0618 // Among Us only supports IPv4