Created
March 18, 2014 19:57
-
-
Save kevinblanco/9628156 to your computer and use it in GitHub Desktop.
Transloadit response object example
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
{ | |
transloadit: '{ | |
"ok": "ASSEMBLY_COMPLETED", | |
"message": "The assembly was successfully completed.", | |
"assembly_id": "833c21b0aed511e3a7b675b5d4bfaff4", | |
"parent_id": null, | |
"assembly_url": "http://api2.nidba.transloadit.com/assemblies/833c21b0aed511e3a7b675b5d4bfaff4", | |
"bytes_received": 33829, | |
"bytes_expected": 33829, | |
"client_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.149 Safari/537.36", | |
"client_ip": "181.193.42.90", | |
"client_referer": "http://localhost:1337/user/new", | |
"start_date": "2014/03/18 19:43:00 GMT", | |
"is_infinite": false, | |
"has_dupe_jobs": false, | |
"upload_duration": 1.262, | |
"execution_start": "2014/03/18 19:43:01 GMT", | |
"execution_duration": 2.342, | |
"notify_start": null, | |
"notify_url": null, | |
"notify_status": null, | |
"last_job_completed": "2014/03/18 19:43:03 GMT", | |
"notify_duration": null, | |
"fields": { | |
}, | |
"running_jobs": [ | |
], | |
"bytes_usage": 38791, | |
"executing_jobs": [ | |
], | |
"started_jobs": [ | |
], | |
"files_to_store_on_s3": 0, | |
"queued_files_to_store_on_s3": 0, | |
"parent_assembly_status": null, | |
"params": "{\\"steps\\":{\\"thumb\\":{\\"robot\\":\\"/image/resize\\",\\"width\\":125,\\"height\\":125,\\"resize_strategy\\":\\"pad\\"}}}", | |
"uploads": [ | |
{ | |
"id": "839712f0aed511e3955d0757ae1983f5", | |
"name": "mustaine.jpg", | |
"basename": "mustaine", | |
"ext": "jpg", | |
"size": 33404, | |
"mime": "image/jpeg", | |
"type": "image", | |
"field": "photos", | |
"md5hash": "fc0bcb7e29f6e8a9f53368f1c8f00f61", | |
"original_id": "839712f0aed511e3955d0757ae1983f5", | |
"original_basename": "mustaine", | |
"original_md5hash": "fc0bcb7e29f6e8a9f53368f1c8f00f61", | |
"url": "http://tmp.nidba.transloadit.com/upload/e843d82503a156b614961175219d97ad.jpg", | |
"meta": { | |
"width": 493, | |
"height": 750, | |
"date_recorded": null, | |
"date_file_created": null, | |
"date_file_modified": "2014/03/18 19:43:00 GMT", | |
"title": null, | |
"description": null, | |
"location": null, | |
"aspect_ratio": 0.6573333333333333, | |
"city": null, | |
"state": null, | |
"country": null, | |
"country_code": null, | |
"keywords": null, | |
"aperture": null, | |
"exposure_compensation": null, | |
"exposure_mode": null, | |
"exposure_time": null, | |
"flash": null, | |
"focal_length": null, | |
"f_number": null, | |
"iso": null, | |
"light_value": null, | |
"metering_mode": null, | |
"shutter_speed": null, | |
"white_balance": null, | |
"device_name": null, | |
"device_vendor": null, | |
"device_software": null, | |
"latitude": null, | |
"longitude": null, | |
"orientation": null, | |
"has_clipping_path": false, | |
"creator": null, | |
"author": null, | |
"copyright": null, | |
"copyright_notice": null, | |
"frame_count": 1 | |
} | |
} | |
], | |
"last_seq": 2, | |
"results": { | |
"thumb": [ | |
{ | |
"id": "84c559c0aed511e3ae7f011ad66ec7f8", | |
"name": "mustaine.jpg", | |
"basename": "mustaine", | |
"ext": "jpg", | |
"size": 5387, | |
"mime": "image/jpeg", | |
"type": "image", | |
"field": "photos", | |
"md5hash": "7e4c28b0fddf16024f3dc7461b0b7406", | |
"original_id": "839712f0aed511e3955d0757ae1983f5", | |
"original_basename": "mustaine", | |
"original_md5hash": "fc0bcb7e29f6e8a9f53368f1c8f00f61", | |
"url": "http://tmp.transloadit.com.s3.amazonaws.com/84c559c0aed511e3ae7f011ad66ec7f8.jpg", | |
"meta": { | |
"width": 125, | |
"height": 125, | |
"date_recorded": null, | |
"date_file_created": null, | |
"date_file_modified": "2014/03/18 19:43:03 GMT", | |
"title": null, | |
"description": null, | |
"location": null, | |
"aspect_ratio": 1, | |
"city": null, | |
"state": null, | |
"country": null, | |
"country_code": null, | |
"keywords": null, | |
"aperture": null, | |
"exposure_compensation": null, | |
"exposure_mode": null, | |
"exposure_time": null, | |
"flash": null, | |
"focal_length": null, | |
"f_number": null, | |
"iso": null, | |
"light_value": null, | |
"metering_mode": null, | |
"shutter_speed": null, | |
"white_balance": null, | |
"device_name": null, | |
"device_vendor": null, | |
"device_software": null, | |
"latitude": null, | |
"longitude": null, | |
"orientation": null, | |
"has_clipping_path": false, | |
"creator": null, | |
"author": null, | |
"copyright": null, | |
"copyright_notice": null, | |
"frame_count": 1 | |
}, | |
"ssl_url": "https://s3.amazonaws.com/tmp.transloadit.com/84c559c0aed511e3ae7f011ad66ec7f8.jpg" | |
} | |
] | |
} | |
}', | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment