Skip to content

Instantly share code, notes, and snippets.

@eculver
Created January 30, 2014 23:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save eculver/8722125 to your computer and use it in GitHub Desktop.
Save eculver/8722125 to your computer and use it in GitHub Desktop.
{
"thumb": {
"href": "http://cache.mycdn.com/path/to/asset/a0324d3.jpg",
"width": 80,
"height": 80,
},
"asset": {
"id": 342393,
"title": "Client Commercial",
"filename": "mycommercial.m4v",
"description": "",
"size": 1024,
"is_folder": false,
"is_active": false,
"has_default_thumbs": false,
"primary_file": {
"id": 103232,
"crc32b": "aaaa0000",
"mime_type": "video/mp4",
"extension": "m4v",
"view_url": "http://cache.mycdn.com/path/to/asset/a0324d3.jpg",
"download_url": "http://cache.mycdn.com/different/path/to/asset/49b2e0.m4v",
"attributes": [
{
"label": "duration",
"value": 0
},
{
"label": "video_compression",
"value": "h264 (Constrained Baseline)"
},
{
"label": "audio_compression",
"value": "aac"
},
{
"label": "width",
"value": 101
},
{
"label": "height",
"value": 180
}
]
},
"thumb_file": {
"id": 103233,
"crc32b": "bbbb1111",
"mime_type": "image/png",
"extension": "png",
"view_url": "http://cache.mycdn.com/path/to/asset/982a1ca.jpg",
"download_url": "http://cache.mycdn.com/different/path/to/asset/982a1ca.png",
"attributes": [
{
"label": "width",
"value": 101
},
{
"label": "height",
"value": 180
}
]
},
"thumbs": [
{
"href": "http://cache.mycdn.com/path/to/asset/a0324d3.jpg",
"width": 80,
"height": 80
},
{
"href": "http://cache.mycdn.com/path/to/asset/d1231ea.jpg",
"width": 180,
"height": 180
},
{
"href": "http://cache.mycdn.com/path/to/asset/2ab21a1.jpg",
"width": 640,
"height": 640
},
{
"href": "http://cache.mycdn.com/path/to/asset/1da3a22.jpg",
"width": 1600,
"height": 1600
}
],
"date_created": 1349205186,
"date_modified": 1349205186,
"date_deleted": 1349205186,
"links:" {
"created_by": "http://api.wiredrive.com/v1/users/10",
"parent": "http://api.wiredrive.com/v1/assets/1253",
"contents": "http://api.wiredrive.com/v1/assets/34293/contents",
"group": "http://api.wiredrive.com/assets/34293/group",
"tags": "http://api.wiredrive.com/assets/34293/tags",
"keywords": "http://api.wiredrive.com/assets/34293/keywords",
"file_history": "http://api.wiredrive.com/assets/34293/file_history",
"approvals": "http://api.wiredrive.com/assets/34293/approvals",
"comments": "http://api.wiredrive.com/asset/34293/comments"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment