curl --location 'https://us-prod.notte.cc/functions/1c514010-ca48-472d-b1fa-ba4ac6c5f444/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
"function_id": "1c514010-ca48-472d-b1fa-ba4ac6c5f444",
"variables": {
"page_url": "https://stream.aryavidya.cc/play.php",
"video_url": null,
"title": null,
"poster": null,
"video_id": null,
"batch_id": null,
"subject_id": null,
"video_type": null,
"subject_id_original": null,
"topic_id": null,
"subject_slug": null,
"topic_slug": null,
"video_key": null,
"urlType": null,
"wait_seconds": 90,
"check_stream": true,
"batchId": null,
"subjectId": null,
"videoId": null,
"topicSlug": null,
"videoKey": null,
"videoUrl": null
}
}'
{
"title": "<string>",
"format": "<string>",
"has_drm": true,
"page_url": "<string>",
"warnings": [
"<string>"
],
"video_url": "<string>",
"expires_at": "<string>",
"parameters": {
"title": "<string>",
"poster": "<string>",
"urlType": "<string>",
"batch_id": "<string>",
"topic_id": "<string>",
"video_id": "<string>",
"video_key": "<string>",
"video_url": "<string>",
"subject_id": "<string>",
"topic_slug": "<string>",
"video_type": "<string>",
"subject_slug": "<string>",
"subject_id_original": "<string>"
},
"poster_url": "<string>",
"retrieved_at": "<string>",
"stream_check": {
"format": "<string>",
"message": "<string>",
"accessible": true,
"status_code": 0,
"content_type": "<string>"
},
"duration_seconds": 0
}