curl --location 'https://us-staging.notte.cc/functions/2f041604-d382-4e7f-b260-ea33b87c47b7/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
"function_id": "2f041604-d382-4e7f-b260-ea33b87c47b7",
"variables": {
"match_id": "I7HdaqED"
}
}'
{
"match": {
"status": {
"code": 0,
"type": "<string>",
"detail": "<string>",
"detail_code": 0,
"last_updated_at": "<string>",
"last_updated_timestamp": 0
},
"winner": "<string>",
"match_id": "<string>",
"sport_id": 0,
"match_info": {
"city": "<string>",
"venue": "<string>",
"capacity": "<string>"
},
"start_time": "<string>",
"final_score": {
"away": 0,
"home": 0,
"display": "<string>"
},
"has_lineups": true,
"source_fields": {
"common": {},
"summary": {
"AC": 0,
"BA": 0,
"BB": 0,
"BC": 0,
"BD": 0
}
},
"available_data": [
"<string>"
],
"has_statistics": true,
"half_time_score": {
"away": 0,
"home": 0,
"display": "<string>"
},
"start_timestamp": 0,
"has_head_to_head": true,
"second_half_score": {
"away": 0,
"home": 0,
"display": "<string>"
},
"source_available_data": [
"<string>"
]
},
"source": "<string>",
"match_id": "<string>",
"input_not_found": true
}