StatsHub Docs
APIEndpoint referenceDashboard

/dashboard/basketball/load-by-date

Either a single date or a start and end pair.

POST
/api/dashboard/basketball/load-by-date

Either a single date or a start and end pair. Supplying a start without an end is rejected, but supplying date alongside a range is not — the range is forwarded too and the upstream decides.

Authorization

AuthorizationBearer <token>

Supabase access token.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/api/dashboard/basketball/load-by-date" \  -H "Content-Type: application/json" \  -d '{    "date": null,    "endDate": null,    "startDate": null  }'
null