APIEndpoint referenceBasketball
/basketball/player/all
A team's squad, in the per-table nesting drizzle produced.
A team's squad, in the per-table nesting drizzle produced.
An empty squad is a 404 rather than an empty list, matching the original.
Query Parameters
teamId?string
Response Body
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/api/basketball/player/all"{ "data": [ "string" ]}/basketball/events/by-date GET
The guard is `if (!startOfDay && !endOfDay)` — an and, not an or — so supplying just one of the two passes validation and the missing one becomes NaN in the where clause, which is a 500.
/basketball/player/{id} GET
`nextEvent` sits beside `data` at the top level rather than inside it, which is the original's shape and not an oversight here.