mantimon-tcg/backend/app/schemas
Cal Corum cc0254d5ab Implement REST endpoints for game management (API-001)
Add REST API endpoints for game lifecycle operations:
- POST /games - Create new game between two players
- GET /games/{game_id} - Get game info for reconnection
- GET /games/me/active - List user's active games
- POST /games/{game_id}/resign - Resign from game via HTTP

Includes proper reverse proxy support for WebSocket URL generation
(X-Forwarded-* headers -> settings.base_url -> Host header fallback).

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 23:09:12 -06:00
..
__init__.py Phase 3: Collections + Decks - Services and DI architecture 2026-01-28 11:27:14 -06:00
auth.py Implement Phase 2: Authentication system 2026-01-27 21:49:59 -06:00
collection.py Phase 3: Collections + Decks - Services and DI architecture 2026-01-28 11:27:14 -06:00
deck.py Fix medium priority issues from code review 2026-01-28 14:32:08 -06:00
game.py Implement REST endpoints for game management (API-001) 2026-01-29 23:09:12 -06:00
user.py Implement Phase 2: Authentication system 2026-01-27 21:49:59 -06:00
ws_messages.py Add Phase 4 WebSocket infrastructure (WS-001 through GS-001) 2026-01-28 22:21:20 -06:00