Get per-team free-pack status
Changed onAuthenticated per-user read of free-pack state for the current UTC day, without hitting the cap. Without teamId, one row per team with an active, non-internal, currently-released free pack. With teamId, that team row, or an empty teams array when the team has no active free pack (never 404: native treats 404 as route-not-deployed and hides the clock). Counts share the where clause the 429 path enforces, so remaining matches the cap; purchase and checkout re-count under lock and stay authoritative. Cache-Control: no-store. No quiet-hours window exists yet, so none is honored (#914 follow-up).
Request
- Base URLhttps://app.d-sports.org
- AuthHTTP bearer
Query parameters
Response
{ success, data: { teams: [{ teamId, limit, used, remaining, resetsAt }] } }. resetsAt is next UTC midnight, ISO 8601, same value as the 429 resetsAt.
Changes
- info
endpoint added
- info