#<Coconut::Job:0x0000000115bef238
@completed_at="2023-06-22 19:57:59 +0000",
@created_at="2023-06-22 19:53:10 +0000",
@errors=nil,
@id="nRs0nN734KS18M",
@output_urls=nil,
@progress="100%",
@status="job.completed">
{
"completed_at": "2023-06-22 19:57:59 +0000",
"created_at": "2023-06-22 19:53:10 +0000",
"id": "nRs0nN734KS18M",
"input": {
"status": "input.transferred"
},
"outputs": [
{
"format": "mp4:240p",
"key": "mp4:240p",
"status": "video.encoded",
"type": "video",
"url": "http://somepage.com/240p.mp4"
},
{
"format": "mp4:360p",
"key": "mp4:360p",
"status": "video.encoded",
"type": "video",
"url": "http://somepage.com/360p.mp4"
},
{
"format": "mp4:480p",
"key": "mp4:480p",
"status": "video.encoded",
"type": "video",
"url": "http://somepage.com/480p.mp4"
}
],
"progress": "100%",
"status": "job.completed"
}
When using
Coconut::Job.retrieve("nRs0nN734KS18M")I am getting nil inoutput_urlsreponse:Which is weird cause when I do a
curl https://api.coconut.co/v2/jobs/nRs0nN734KS18M -u (api_key), it returns the full json with all the outputs like: