curl --location 'https://us-prod.notte.cc/functions/a5d7dc21-676d-4c51-9d6c-88b04ed9b954/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
"function_id": "a5d7dc21-676d-4c51-9d6c-88b04ed9b954",
"variables": {
"driver_id": 21865
}
}'
{
"total": 0,
"driver": {
"id": 0,
"ddb_url": "<string>",
"full_name": "<string>",
"last_name": "<string>",
"first_name": "<string>",
"profile_url": "<string>"
},
"seasons": [
{
"car": {
"name": "<string>"
},
"team": {
"id": 0,
"name": "<string>",
"logo_url": "<string>"
},
"wins": 0,
"year": 0,
"poles": 0,
"races": 0,
"season": {
"id": 0,
"name": "<string>",
"legacy_url": "<string>",
"legacy_year": 0,
"points_final": true,
"championship_id": 0,
"championship_name": "<string>"
},
"podiums": 0,
"car_name": "<string>",
"num_wins": 0,
"driver_id": 0,
"num_poles": 0,
"season_id": 0,
"team_name": "<string>",
"num_events": 0,
"num_podiums": 0,
"fastest_laps": 0,
"num_fast_laps": 0,
"overall_position": 0,
"championship_name": "<string>",
"hasSessionResults": true,
"finishing_position": 0
}
],
"returned": 0,
"source_url": "<string>"
}