Add JSON roster API endpoint for playground dashboard #63
Labels
No labels
domain:backend
domain:devops
domain:frontend
status:approved
status:in-progress
status:needs-fix
status:qa
type:bug
type:devops
type:feature
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
forgejo_admin/basketball-api#63
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Lineage
plan-2026-03-08-tryout-prep→ Phase 4 → Phase 4l (playground dashboard)Repo
forgejo_admin/basketball-apiUser Story
As a frontend developer
I want a JSON API endpoint returning all player/parent/registration data
So that the playground SvelteKit dashboard can fetch live data
Context
The playground westside dashboard needs live data instead of mock data. The basketball-api currently only serves HTML. We need a single JSON endpoint that returns the full roster with parent info, payment status, and waiver status.
File Targets
Files the agent should modify:
src/basketball_api/routes/tryouts.py— add GET /api/roster/{tenant_slug} returning JSONsrc/basketball_api/routes/__init__.py— if needed to register new routeFiles the agent should NOT touch:
Acceptance Criteria
GET /api/roster/westside-kings-queensreturns JSON array of playersTest Expectations
pytest tests/ -vpytest tests/ -vConstraints
Checklist
Related
project-westside-basketball