This endpoint retrieves details about a team in the database. Based on the provided teamId.
{
"api": "https://f1connectapi.vercel.app",
"url": "https://f1connectapi.vercel.app/api/teams/ferrari",
"limit": 1,
"total": 1,
"team": [
{
"teamId": "ferrari",
"teamName": "Scuderia Ferrari",
"teamNationality": "Italy",
"firstAppeareance": 1950,
"constructorsChampionships": 16,
"driversChampionships": 15,
"url": "https://en.wikipedia.org/wiki/Scuderia_Ferrari"
}
]
}| Field | Type | Description |
|---|---|---|
| api | string | The base API URL for the F1 Connect service. |
| url | string | The URL used to fetch the teams data with query parameters for limit and offset. |
| total | number | The total number of teams available in the dataset. |
| team | array | A list of team objects returned from the API. |
| teamId | string | A unique identifier for the team. |
| teamName | string | The team name. |
| teamNationality | string | The team nationality. |
| firstAppeareance | number | The year the team first appeared in a Grand Prix. |
| constructorsChampionships | number | null | The number of constructors championships the team has won. |
| driversChampionships | number | null | The number of drivers championships the team has won. |
| url | string | A URL to the Wikipedia page of the team. |
No params for this endpoint.
| Status | Description |
|---|---|
| 200 | Successful request |
| 404 | Resource not found |
| 500 | Internal server error |