arbret/backend
counterweight b3ed81e8fd
Phase 4: API Endpoint
- Add RandomNumberOutcomeResponse schema to schemas.py
- Add GET /api/audit/random-jobs endpoint to routes/audit.py
- Returns list of outcomes (newest first, no pagination)
- Requires VIEW_AUDIT permission
- Add tests: admin can access, regular user forbidden, unauthenticated 401
2025-12-21 22:53:54 +01:00
..
routes Phase 4: API Endpoint 2025-12-21 22:53:54 +01:00
tests Phase 4: API Endpoint 2025-12-21 22:53:54 +01:00
auth.py Add ruff linter/formatter for Python 2025-12-21 21:54:26 +01:00
database.py Add ruff linter/formatter for Python 2025-12-21 21:54:26 +01:00
env.example reviewed 2025-12-20 22:38:39 +01:00
invite_utils.py Add ruff linter/formatter for Python 2025-12-21 21:54:26 +01:00
jobs.py Phase 2: Job enqueueing from counter 2025-12-21 22:44:31 +01:00
main.py Add ruff linter/formatter for Python 2025-12-21 21:54:26 +01:00
models.py Phase 3: Outcome storage 2025-12-21 22:50:35 +01:00
pyproject.toml Phase 1: Add pgqueuer infrastructure 2025-12-21 22:37:04 +01:00
pytest.ini tests passing 2025-12-18 22:08:31 +01:00
schemas.py Phase 4: API Endpoint 2025-12-21 22:53:54 +01:00
seed.py Add ruff linter/formatter for Python 2025-12-21 21:54:26 +01:00
shared_constants.py Add ruff linter/formatter for Python 2025-12-21 21:54:26 +01:00
validate_constants.py Add ruff linter/formatter for Python 2025-12-21 21:54:26 +01:00
validation.py Add ruff linter/formatter for Python 2025-12-21 21:54:26 +01:00
words.txt first implementation 2025-12-20 11:12:11 +01:00
worker.py Phase 3: Outcome storage 2025-12-21 22:50:35 +01:00