Created
July 15, 2011 18:58
-
-
Save jameswomack/1085291 to your computer and use it in GitHub Desktop.
API User->Magazine
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//this | |
{ | |
"magazines":{ | |
"4":{ | |
"id":"4", | |
"name":"Young Olmos", | |
"description":"The latest from San Diego's most original dirigible", | |
"creator":{ | |
"id":"4", | |
"name":"James Womack" | |
}, | |
"date_created":"2011-07-10 15:01:07", | |
"date_last_updated":"2011-07-10 15:01:07", | |
"category":{ | |
"id":"10", | |
"name":"Entertainment" | |
} | |
} | |
} | |
} | |
//would be this: | |
{ | |
"magazines":{ | |
"id":"4", | |
"name":"Ed Olmos", | |
"description":"The latest from San Diego's most original dirigible", | |
"creator":{ | |
"id":"4", | |
"name":"John Doe" | |
}, | |
"date_created":"2011-07-10 15:01:07", | |
"date_last_updated":"2011-07-10 15:01:07", | |
"category":{ | |
"id":"10", | |
"name":"Entertainment" | |
} | |
"photo":"http:\/\/snagazine.siteappy.com\/files\/uploads\/a67A8vIVGiHarsMSXgrT.jpg", | |
"thumb":"http:\/\/snagazine.siteappy.com\/files\/uploads\/a67A8vIVGiHarsMSXgrT.jpg" | |
}, | |
{ | |
"id":"5", | |
"name":"Ed Olmos", | |
"description":"The latest from San Diego's most original dirigible", | |
"creator":{ | |
"id":"4", | |
"name":"John Doe" | |
}, | |
"date_created":"2011-07-10 15:01:07", | |
"date_last_updated":"2011-07-10 15:01:07", | |
"category":{ | |
"id":"10", | |
"name":"Entertainment" | |
}, | |
"photo":"http:\/\/snagazine.siteappy.com\/files\/uploads\/a67A8vIVGiHarsMSXgrT.jpg", | |
"thumb":"http:\/\/snagazine.siteappy.com\/files\/uploads\/a67A8vIVGiHarsMSXgrT.jpg" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment