Skip to content

Instantly share code, notes, and snippets.

@benwbrum
Created October 29, 2012 17:48
Show Gist options
  • Save benwbrum/3975183 to your computer and use it in GitHub Desktop.
Save benwbrum/3975183 to your computer and use it in GitHub Desktop.
Scribe transcription post parameters as Rails sees them.
{"transcription"=>{
"annotations"=>{
"0"=>{
"kind"=>"Baptism",
"data"=>{
"date"=>"1752-03-06",
"first_name"=>"Francis",
"father_first_name"=>"Francis", "father_last_name"=>"Pearson",
"mother_first_name"=>"Elizabeth",
"mother_last_name"=>"Pearson",
"notes"=>""},
"bounds"=>{
"width"=>"0.8533333333333334", "height"=>"0.03871320075164422",
"x"=>"0.095",
"y"=>"0.21445884225910847",
"zoom_level"=>"2"}
}
},
"page_data"=>{
"asset_id"=>"5049f4688ebe6117710000de",
"asset_screen_width"=>"1200",
"asset_screen_height"=>"1627.3518793799108",
"asset_width"=>"4709",
"asset_height"=>"6386",
"zooniverse_user_id"=>"4fe88ebc8ebe616c15000001"}},
"authenticity_token"=>"U9+JowGw2v3eYjT3nSYudBfGEgDLjFt6a/WtdZ8jWis="}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment