curl --location 'https://us-prod.notte.cc/functions/8d2823f1-ebf3-4222-9705-ea067360c74d/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
"function_id": "8d2823f1-ebf3-4222-9705-ea067360c74d",
"variables": {
"discipline": "slopestyle",
"gender": "male",
"page": 1
}
}'
{
"gender": "<string>",
"athletes": [
{
"id": 0,
"age": 0,
"rank": 0,
"avatar": "<string>",
"gender": 0,
"stance": "<string>",
"status": {
"status_string": "<string>",
"protection_type": "<string>",
"protection_since": "<string>"
},
"country": {
"id": 0,
"ioc": "<string>",
"name": "<string>"
},
"birthday": "<string>",
"last_name": "<string>",
"prev_rank": 0,
"first_name": "<string>",
"ranking_id": 0,
"sum_points": "<string>",
"rank_change": 0,
"event_stops_scores": {
"others": [
{
"event_id": 0,
"end_position": 0,
"competition_id": 0,
"ranking_points": 0,
"event_stop_name": "<string>",
"competition_date": "<string>"
}
],
"counted": {}
}
}
],
"discipline": "<string>",
"pagination": {
"has_next": true,
"next_page": 0,
"current_page": 0,
"has_previous": true
}
}