curl --location 'https://us-prod.notte.cc/functions/b7a6b469-5b7b-44fd-94d9-6cc2d5aa17eb/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
"function_id": "b7a6b469-5b7b-44fd-94d9-6cc2d5aa17eb",
"variables": {
"team_identifier": "red-bull",
"timeout_seconds": 30
}
}'
{
"team": {
"id": 0,
"name": "<string>",
"stats": {},
"country": {
"id": 0,
"name": "<string>",
"ddb_url": "<string>",
"iso_code": "<string>"
},
"ddb_url": "<string>",
"drivers": [
{
"id": 0,
"age": "<string>",
"dob": "<string>",
"stats": {},
"gender": "<string>",
"ddb_url": "<string>",
"full_name": "<string>",
"is_active": true,
"last_name": "<string>",
"name_full": "<string>",
"first_name": "<string>",
"is_claimed": true,
"country_iso": "<string>",
"profile_url": "<string>",
"country_name": "<string>",
"driver_number": "<string>",
"nationalities": [
{
"country": {
"id": 0,
"name": "<string>",
"ddb_url": "<string>",
"iso_code": "<string>",
"nationality": "<string>"
},
"is_primary": true
}
],
"place_of_birth": "<string>",
"declared_gender": "<string>",
"championship_name": "<string>",
"profile_image_url": "<string>",
"active_championship": 0
}
],
"profile": "<string>",
"team_id": 0,
"logo_url": "<string>",
"principal": "<string>",
"season_id": 0,
"headquarters": "<string>",
"team_ddb_url": "<string>",
"colour_accent": "<string>",
"colour_primary": "<string>"
},
"season": {
"id": 0,
"year": 0,
"championshipName": "<string>"
}
}