curl --location 'https://us-prod.notte.cc/functions/c806bfda-365a-4b78-a81c-3a02f480b38f/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
"function_id": "c806bfda-365a-4b78-a81c-3a02f480b38f",
"variables": {
"page": 1,
"genre_ids": [],
"type_ids": [],
"name": "",
"sort_by": "average_rating",
"sort_direction": "desc"
}
}'
{
"page": 0,
"count": 0,
"items": [
{
"id": 0,
"name": "<string>",
"site": 0,
"slug": "<string>",
"type": {
"id": 0,
"label": "<string>"
},
"cover": {
"md": "<string>",
"default": "<string>",
"filename": "<string>",
"thumbnail": "<string>"
},
"model": "<string>",
"rating": {
"user": 0,
"votes": 0,
"average": "<string>",
"votesFormated": "<string>",
"averageFormated": "<string>"
},
"status": {
"id": 0,
"label": "<string>"
},
"eng_name": "<string>",
"rus_name": "<string>",
"slug_url": "<string>",
"is_authorship": true,
"ageRestriction": {
"id": 0,
"label": "<string>"
}
}
],
"per_page": 0,
"has_next_page": true
}