remove outdated docs and routes

This commit is contained in:
2026-10-25 17:21:49 +03:00
parent 765a3365bd
commit 656fc44fd8
2 changed files with 2 additions and 23 deletions
+1 -20
View File
@@ -267,26 +267,7 @@ curl -X DELETE http://localhost:3000/api/logout \
### Отмена поиска
Убирает игрока из очереди матчмейкинга.
**URL:** `DELETE /api/matchmaking`
**Auth:** требуется
**Пример запроса:**
```bash
curl -X DELETE http://localhost:3000/api/matchmaking \
-H "Authorization: Bearer eyJhbGciOiJIUzI1NiJ9..."
```
**Успешный ответ (200 OK):**
```json
{
"message": "Matchmaking cancelled"
}
```
Отмена поиска происходит через WebSocket: достаточно отключиться от `MatchmakingChannel` либо отправить `{ "action": "stop" }`.
---