curl --location 'https://us-prod.notte.cc/functions/50da240c-6767-4650-b91e-4ed9c5072203/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
"function_id": "50da240c-6767-4650-b91e-4ed9c5072203",
"variables": {
"page": 1,
"include_tracks": false,
"date_from": "",
"date_to": "",
"max_items": 30
}
}'
{
"page": 0,
"items": [
{
"url": "<string>",
"date": "<string>",
"title": "<string>",
"views": "<string>",
"genres": "<string>",
"tracks": [
{
"mix": "<string>",
"genre": "<string>",
"label": "<string>",
"title": "<string>",
"artist": "<string>",
"position": 0,
"full_name": "<string>",
"track_url": "<string>",
"duration_iso": "<string>",
"streaming_links": [
{
"url": "<string>",
"source": "<string>",
"source_code": "<string>"
}
]
}
],
"creator": "<string>",
"duration": "<string>",
"identified": "<string>",
"tracklist_id": "<string>",
"event_metadata": {
"ided": "<string>",
"likes": "<string>",
"title": "<string>",
"views": "<string>",
"genres": "<string>",
"artists": [
{
"url": "<string>",
"name": "<string>"
}
],
"sources": [
{
"url": "<string>",
"name": "<string>"
}
],
"tl_date": "<string>",
"posted_at": "<string>",
"posted_by": "<string>",
"short_link": "<string>",
"previous_tracklist": "<string>"
},
"creator_reputation": "<string>"
}
],
"date_to": "<string>",
"returned": 0,
"date_from": "<string>",
"transport": "<string>",
"include_tracks": true,
"upstream_page_size": 0
}