curl --location 'https://us-prod.notte.cc/functions/4f4266eb-b054-4ac6-966e-173f60f9053c/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
"function_id": "4f4266eb-b054-4ac6-966e-173f60f9053c",
"variables": {
"limit": 100,
"offset": 0,
"sort_by": "asc",
"include_classes": false,
"include_special_events": true,
"timeout_seconds": 20
}
}'
{
"limit": 0,
"offset": 0,
"sort_by": "<string>",
"returned": 0,
"source_url": "<string>",
"championships": [
{
"id": 0,
"name": "<string>",
"ddb_url": "<string>",
"type_id": 0,
"identifier": "<string>",
"name_short": "<string>",
"racing_era": "<string>",
"profile_url": "<string>",
"special_event": true,
"default_season": {
"id": 0,
"name": "<string>",
"ddb_url": "<string>",
"is_default": true,
"legacy_year": 0
},
"relevance_tier": 0,
"current_seasons": [
{
"id": 0,
"name": "<string>",
"ddb_url": "<string>",
"is_default": true,
"legacy_year": 0
}
],
"avg_sharp_rating": 0,
"championship_type": "<string>",
"latest_event_date": "<string>"
}
],
"total_available": 0
}