curl --location 'https://us-prod.notte.cc/functions/65a4a3fd-b3dd-452d-91fc-0b996a5d3580/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
"function_id": "65a4a3fd-b3dd-452d-91fc-0b996a5d3580",
"variables": {
"channel_id": 0,
"limit": 20
}
}'
{
"count": 0,
"tracks": [
{
"asin": "<string>",
"year": "<string>",
"album": "<string>",
"title": "<string>",
"artist": "<string>",
"channel": {
"isER": true,
"title": "<string>",
"channel_id": 0,
"stream_name": "<string>"
},
"song_id": 0,
"event_id": 0,
"cover_art": {
"large": "<string>",
"small": "<string>",
"medium": "<string>"
},
"channel_id": 0,
"duration_ms": 0,
"play_time_ms": 0,
"ratings_count": 0,
"listener_rating": 0,
"duration_seconds": 0,
"slideshow_image_ids": [
0
],
"ratings_distribution": [
0
]
}
],
"channel": {
"isER": true,
"title": "<string>",
"channel_id": 0,
"stream_name": "<string>"
},
"channel_id": 0,
"next_offset_event_id": 0
}