Teams
Get team by id or slug
Changed onPublic. Fetch a single team by id or slug (id is tried first). Same shape as an entry in GET /api/teams plus teamRecord, foundedDate, viewerCanPostAsTeam and seasonState. Includes rosterVerifiedByClubAt (ISO-8601 or null). seasonState ({ state: in_season | off_season | preseason, hubEnabled }) is the off-season hub gate (#999): native flips SHOW_OFFSEASON_HUB off seasonState.hubEnabled instead of a client constant. Archived teams 404. 400 without an id, 404 for unknown teams.
get/api/teams/{id}
Request
- Base URLhttps://app.d-sports.org
- Authnone required
Path parameters
idstring required
Response
{ success, data: { team } } — team.seasonState is always present.
Changes
- info
endpoint added
- info