Skip to content

Instantly share code, notes, and snippets.

@Bivek
Created December 27, 2012 09:43
Show Gist options
  • Save Bivek/4386945 to your computer and use it in GitHub Desktop.
Save Bivek/4386945 to your computer and use it in GitHub Desktop.
Transaction complete callback
{"task_id"=>"ZpN0lCQqbH",
"status"=>"Complete",
"started_at"=>"2012-12-24 20:38:17 -0800",
"completed_at"=>"2012-12-24 20:40:57 -0800",
"resources"=>
"[
{
\"image_url\":\"http://upload.wikimedia.org/wikipedia/commons/1/19/Tanzanian_Animals.jpg\",
\"TextInput1\":\"Zebra\",
\"extras\":{
\"worker_id\":\"50d87b393689fe0682000023\",
\"worker_confidence\":\"62.5\",
\"assignment_id\":\"272\",
\"work_duration\":\"10\",
\"skip_count\":2,
\"status\":\"Completed\",
\"assignment_duration\":3600
}
},
{
\"image_url\":\"http://notlaura.com/wpfolio-two/wp-content/uploads/2011/07/Animals.jpg\",
\"extras\":{
\"skip_count\":3,\"status\":\"Returned\"
}
}
]"
}
@dgtm
Copy link

dgtm commented Dec 27, 2012

{"task_id"=>"ZpN0lCQqbH",
 "status"=>"Complete",
 "started_at"=>"2012-12-24 20:38:17 -0800",
 "completed_at"=>"2012-12-24 20:40:57 -0800",
 "resources"=>
  "[
     {
       \"image_url\":\"http://upload.wikimedia.org/wikipedia/commons/1/19/Tanzanian_Animals.jpg\",
       \"extras\":{
         \"skip_count\":2,
         \"status\":\"Returned\"
       }
     }
  ]"
}


{"task_id"=>"ZpN0lCQqbH",
 "status"=>"Complete",
 "started_at"=>"2012-12-24 20:38:17 -0800",
 "completed_at"=>"2012-12-24 20:40:57 -0800",
 "resources"=>
  "[
     {
       \"image_url\":\"http://upload.wikimedia.org/wikipedia/commons/1/19/Tanzanian_Animals.jpg\",
       \"TextInput1\":\"Zebra\",
       \"extras\":{
         \"worker_id\":\"50d87b393689fe0682000023\",
         \"worker_confidence\":\"62.5\",
         \"assignment_id\":\"272\",
         \"work_duration\":\"10\",
         \"skip_count\":2,
         \"status\":\"Completed\",
         \"assignment_duration\":3600
       }
     }
  ]"
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment