APIEndpoint referenceBasketball
/basketball/tournament/{id}/teams
Only the first tournament's teams are returned.
Only the first tournament's teams are returned. The original selects every
tournament belonging to the unique tournament, then filters teams with a
ternary whose two branches are character-for-character identical — both read
tournamentIds[0]. So a competition split across several stages reports only
the teams of whichever stage sorted first. Preserved, because a client
showing that list today would suddenly see the rest.
Path Parameters
id*string
Response Body
application/json
application/json
curl -X GET "https://example.com/api/basketball/tournament/string/teams"{ "data": [ { "countrySlug": "string", "id": 0, "name": "string", "shortname": "string", "slug": "string" } ]}