arbret/backend/routes
counterweight d39ada1bef
Phase 2.4: Add admin exchange endpoints
Admin trade management:
- GET /api/admin/trades/upcoming: Upcoming booked trades (sorted by time)
- GET /api/admin/trades/past: Past trades with filters
  - status, start_date, end_date, user_search
- POST /api/admin/trades/{id}/complete: Mark as completed (after slot time)
- POST /api/admin/trades/{id}/no-show: Mark as no-show (after slot time)
- POST /api/admin/trades/{id}/cancel: Admin cancel trade

AdminExchangeResponse includes user contact info for admin view.
2025-12-22 18:34:56 +01:00
..
__init__.py first implementation 2025-12-20 22:18:14 +01:00
audit.py Phase 0.1: Remove backend deprecated code 2025-12-22 18:07:14 +01:00
auth.py Add ruff linter/formatter for Python 2025-12-21 21:54:26 +01:00
availability.py refactor(backend): extract date range validation utilities 2025-12-22 00:02:41 +01:00
booking.py refactor(backend): clean up router registration pattern 2025-12-22 09:10:26 +01:00
exchange.py Phase 2.4: Add admin exchange endpoints 2025-12-22 18:34:56 +01:00
invites.py refactor(backend): standardize model-to-response conversion naming 2025-12-22 09:16:05 +01:00
meta.py refactor: derive Permission type from generated OpenAPI schema 2025-12-21 23:55:47 +01:00
profile.py refactor(auth): unify authorization patterns with MANAGE_OWN_PROFILE permission 2025-12-21 23:50:06 +01:00