curl --location 'https://us-prod.notte.cc/functions/1c4ebcbe-7288-47bf-af6f-dad79293faa1/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
"function_id": "1c4ebcbe-7288-47bf-af6f-dad79293faa1",
"variables": {
"match_id": 537785,
"timeout_seconds": 30
}
}'
{
"match": {
"id": 0,
"area": {
"id": 0,
"code": "<string>",
"flag": "<string>",
"name": "<string>"
},
"score": {
"winner": "<string>",
"duration": "<string>",
"fullTime": {
"away": 0,
"home": 0
},
"halfTime": {
"away": 0,
"home": 0
}
},
"stage": "<string>",
"season": {
"id": 0,
"endDate": "<string>",
"startDate": "<string>",
"currentMatchday": 0
},
"status": "<string>",
"utcDate": "<string>",
"awayTeam": {
"id": 0,
"tla": "<string>",
"name": "<string>",
"crest": "<string>",
"shortName": "<string>"
},
"homeTeam": {
"id": 0,
"tla": "<string>",
"name": "<string>",
"crest": "<string>",
"shortName": "<string>"
},
"matchday": 0,
"referees": [
{
"id": 0,
"name": "<string>",
"type": "<string>",
"nationality": "<string>"
}
],
"competition": {
"id": 0,
"code": "<string>",
"name": "<string>",
"type": "<string>",
"emblem": "<string>"
},
"lastUpdated": "<string>"
}
}