Skip to content

Instantly share code, notes, and snippets.

@moski
Created July 7, 2013 14:06
Show Gist options
  • Save moski/5943568 to your computer and use it in GitHub Desktop.
Save moski/5943568 to your computer and use it in GitHub Desktop.
Fatooosh sample JSON response
{
"apiVersion": "1.0",
"data": {
"_id": "51cbe9e4f92f58b477000003",
"created_at": "2013-06-27T10:29:40+03:00",
"description": "My Drunk Kitchen",
"title": "My Drunk Kitchen",
"updated_at": "2013-06-27T10:29:40+03:00",
"items": [{
"video": {
"_id": "51caa3c5f92f582f79000002",
"created_at": "2013-06-26T11:18:13+03:00",
"description": "asdasdasd",
"show_id": "51cbe9e4f92f58b477000003",
"title": "asdasd",
"updated_at": "2013-06-27T12:24:09+03:00",
"views": 0,
"configure": "http://localhost:3000/api/v1/videos/51caa3c5f92f582f79000002/configure.js",
"duration": 7667,
"file_size_bytes": 2315523,
"total_bitrate_in_kbps": 2341,
"width": 640,
"embed": "<iframe title=\"asdasd\" width=\"640\" height=\"360\" src=\"http://localhost:3000/api/v1/videos/51caa3c5f92f582f79000002/embed\" frameborder=\"0\" allowfullscreen></iframe>"
},
"position": 0,
"thumbnail": {
"default": "https://thumbsfatoooshdev.s3.amazonaws.com/vi/51caa3c5f92f582f79000002/default_thumb.png",
"mqdefault": "https://thumbsfatoooshdev.s3.amazonaws.com/vi/51caa3c5f92f582f79000002/mqdefault_thumb.png",
"hqdefault": "https://thumbsfatoooshdev.s3.amazonaws.com/vi/51caa3c5f92f582f79000002/hqdefault_thumb.png"
}
}, {
"video": {
"_id": "51d00548f92f581ab7000003",
"created_at": "2013-06-30T13:15:36+03:00",
"description": "18 Picking Up the Pieces",
"show_id": "51cbe9e4f92f58b477000003",
"title": "18 Picking Up the Pieces",
"updated_at": "2013-06-30T17:30:38+03:00",
"views": 0,
"configure": "http://localhost:3000/api/v1/videos/51d00548f92f581ab7000003/configure.js",
"duration": 6333,
"file_size_bytes": 1384457,
"total_bitrate_in_kbps": 1227,
"width": 640,
"embed": "<iframe title=\"18 Picking Up the Pieces\" width=\"640\" height=\"360\" src=\"http://localhost:3000/api/v1/videos/51d00548f92f581ab7000003/embed\" frameborder=\"0\" allowfullscreen></iframe>"
},
"position": 1,
"thumbnail": {
"default": "https://thumbsfatoooshdev.s3.amazonaws.com/vi/51d00548f92f581ab7000003/default_thumb.png",
"mqdefault": "https://thumbsfatoooshdev.s3.amazonaws.com/vi/51d00548f92f581ab7000003/mqdefault_thumb.png",
"hqdefault": "https://thumbsfatoooshdev.s3.amazonaws.com/vi/51d00548f92f581ab7000003/hqdefault_thumb.png"
}
}, {
"video": {
"_id": "51d041b3f92f5843da000002",
"created_at": "2013-06-30T17:33:23+03:00",
"description": "18 Picking Up the Pieces",
"show_id": "51cbe9e4f92f58b477000003",
"title": "18 Picking Up the Pieces",
"updated_at": "2013-07-01T14:57:46+03:00",
"views": 0,
"configure": "http://localhost:3000/api/v1/videos/51d041b3f92f5843da000002/configure.js",
"duration": 6333,
"file_size_bytes": 1384457,
"total_bitrate_in_kbps": 1227,
"width": 640,
"embed": "<iframe title=\"18 Picking Up the Pieces\" width=\"640\" height=\"360\" src=\"http://localhost:3000/api/v1/videos/51d041b3f92f5843da000002/embed\" frameborder=\"0\" allowfullscreen></iframe>"
},
"position": 2,
"thumbnail": {
"default": "https://thumbsfatoooshdev.s3.amazonaws.com/vi/51d041b3f92f5843da000002/default_thumb.png",
"mqdefault": "https://thumbsfatoooshdev.s3.amazonaws.com/vi/51d041b3f92f5843da000002/mqdefault_thumb.png",
"hqdefault": "https://thumbsfatoooshdev.s3.amazonaws.com/vi/51d041b3f92f5843da000002/hqdefault_thumb.png"
}
}],
"totalItems": 3,
"startIndex": 0,
"itemsPerPage": 25
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment