curl --location 'https://us-prod.notte.cc/functions/5f47f837-8d39-4525-a807-1aac6bd368d3/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
"function_id": "5f47f837-8d39-4525-a807-1aac6bd368d3",
"variables": {
"limit": 100,
"offset": 0,
"sort_by": "popularity",
"timeout_seconds": 30
}
}'
{
"limit": 0,
"offset": 0,
"tracks": [
{
"id": 0,
"country": {
"id": 0,
"name": "<string>",
"ddb_url": "<string>",
"iso_code": "<string>",
"nationality": "<string>"
},
"ddb_url": "<string>",
"layouts": [
{
"id": 0,
"ddb_url": "<string>",
"track_id": 0,
"active_to": 0,
"active_from": 0,
"layout_name": "<string>",
"circuit_type": "<string>",
"length_meters": 0
}
],
"website": "<string>",
"latitude": 0,
"wiki_url": "<string>",
"longitude": 0,
"photo_url": "<string>",
"name_short": "<string>",
"description": "<string>",
"opening_year": 0,
"name_official": "<string>",
"illustration_url": "<string>"
}
],
"sort_by": "<string>",
"returned": 0,
"total_available": 0
}