curl --location 'https://us-prod.notte.cc/functions/ae340e1b-8684-41f7-a52c-1d797e0248e7/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
"function_id": "ae340e1b-8684-41f7-a52c-1d797e0248e7",
"variables": {
"channel_id": 0
}
}'
{
"data": [
{
"id": 0,
"attributes": {
"dj": {
"data": {
"id": 0,
"attributes": {
"bio": {
"id": 0,
"html": "<string>"
},
"name": "<string>",
"banner": {
"data": {}
},
"user_id": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"publishedAt": "<string>"
}
}
},
"name": "<string>",
"banner": {
"data": {
"id": 0,
"attributes": {
"ext": "<string>",
"url": "<string>",
"hash": "<string>",
"mime": "<string>",
"name": "<string>",
"size": 0,
"width": 0,
"height": 0,
"formats": {
"thumbnail": {}
},
"provider": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"alternativeText": "<string>"
}
}
},
"chan_id": 0,
"summary": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"publishedAt": "<string>",
"channel_color": "<string>",
"channel_color_opacity": 0
}
}
],
"meta": {
"pagination": {
"page": 0,
"total": 0,
"pageSize": 0,
"pageCount": 0
}
}
}