curl --location 'https://us-prod.notte.cc/functions/c7b0e676-08b8-4302-8150-8df7b51ae578/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
"function_id": "c7b0e676-08b8-4302-8150-8df7b51ae578",
"variables": {
"query": "skin",
"language": "en",
"region": "euw1"
}
}'
{
"count": 0,
"query": "<string>",
"challenges": [
{
"id": 0,
"tags": {
"parent": "<string>",
"source": "<string>",
"championQuery": "<string>",
"championSkinQuery": "<string>",
"leaderboardManuallyEnabled": true
},
"state": "<string>",
"title": "<string>",
"parent": "<string>",
"reversed": true,
"thresholds": {
"GOLD": 0,
"IRON": 0,
"BRONZE": 0,
"MASTER": 0,
"SILVER": 0,
"DIAMOND": 0,
"PLATINUM": 0
},
"leaderboard": true,
"percentiles": {},
"translation": {
"name": "<string>",
"description": "<string>",
"shortDescription": "<string>"
},
"parentCategory": "<string>"
}
]
}