Skip to content

Add admin endpoints for hackathon request management#193

Merged
gregv merged 1 commit intodevelopfrom
feature/admin-hackathon-requests
Mar 6, 2026
Merged

Add admin endpoints for hackathon request management#193
gregv merged 1 commit intodevelopfrom
feature/admin-hackathon-requests

Conversation

@gregv
Copy link
Contributor

@gregv gregv commented Mar 6, 2026

Summary

  • Add GET /api/messages/admin/hackathon-requests endpoint to list all hackathon requests (requires volunteer.admin permission)
  • Add PATCH /api/messages/admin/hackathon-requests/<request_id> endpoint to update request status and admin notes
  • Add get_all_hackathon_requests() and admin_update_hackathon_request() service functions
  • Add 13 pytest tests covering listing, updating, creation, and retrieval

Test plan

  • Run pytest api/messages/tests/test_hackathon_requests.py -v (13 tests pass)
  • Verify admin endpoints require volunteer.admin permission
  • Test listing returns all requests sorted newest-first
  • Test status update persists to Firestore and sends Slack audit

🤖 Generated with Claude Code

Add protected GET/PATCH endpoints at /api/messages/admin/hackathon-requests
for listing and updating hackathon requests with volunteer.admin permission.
Includes service functions and tests (13 tests).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@gregv gregv merged commit 307a5ef into develop Mar 6, 2026
3 checks passed
@gregv gregv deleted the feature/admin-hackathon-requests branch March 6, 2026 06:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant