{"action":"created","issue":{"url":"https://api.github.com/repos/TTLabs/EvaporateJS/issues/235","repository_url":"https://api.github.com/repos/TTLabs/EvaporateJS","labels_url":"https://api.github.com/repos/TTLabs/EvaporateJS/issues/235/labels{/name}","comments_url":"https://api.github.com/repos/TTLabs/EvaporateJS/issues/235/comments","events_url":"https://api.github.com/repos/TTLabs/EvaporateJS/issues/235/events","html_url":"https://github.com/TTLabs/EvaporateJS/issues/235","id":175401585,"number":235,"title":"Add a method to get a FileUpload object by its ID","user":{"login":"tremby","id":199635,"avatar_url":"https://avatars.githubusercontent.com/u/199635?v=3","gravatar_id":"","url":"https://api.github.com/users/tremby","html_url":"https://github.com/tremby","followers_url":"https://api.github.com/users/tremby/followers","following_url":"https://api.github.com/users/tremby/following{/other_user}","gists_url":"https://api.github.com/users/tremby/gists{/gist_id}","starred_url":"https://api.github.com/users/tremby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tremby/subscriptions","organizations_url":"https://api.github.com/users/tremby/orgs","repos_url":"https://api.github.com/users/tremby/repos","events_url":"https://api.github.com/users/tremby/events{/privacy}","received_events_url":"https://api.github.com/users/tremby/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":16,"created_at":"2016-09-07T02:55:34Z","updated_at":"2016-09-19T21:11:32Z","closed_at":null,"body":"The documents mention a lot the `upload_id` which is passed to the various callbacks.\r\n\r\nI needed to get at the data stored in `localStorage` for a given upload, and parsing it out of `localStorage` itself seemed like a chore.\r\n\r\nI noticed through experimentation that `this` in the callbacks' context is a `FileUpload` object which has the data I need.\r\n\r\nBut is there any way to get at this outside of a callback?\r\n\r\nA method to get this object from an `upload_id` might be useful."},"comment":{"url":"https://api.github.com/repos/TTLabs/EvaporateJS/issues/comments/248128096","html_url":"https://github.com/TTLabs/EvaporateJS/issues/235#issuecomment-248128096","issue_url":"https://api.github.com/repos/TTLabs/EvaporateJS/issues/235","id":248128096,"user":{"login":"bikeath1337","id":243237,"avatar_url":"https://avatars.githubusercontent.com/u/243237?v=3","gravatar_id":"","url":"https://api.github.com/users/bikeath1337","html_url":"https://github.com/bikeath1337","followers_url":"https://api.github.com/users/bikeath1337/followers","following_url":"https://api.github.com/users/bikeath1337/following{/other_user}","gists_url":"https://api.github.com/users/bikeath1337/gists{/gist_id}","starred_url":"https://api.github.com/users/bikeath1337/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bikeath1337/subscriptions","organizations_url":"https://api.github.com/users/bikeath1337/orgs","repos_url":"https://api.github.com/users/bikeath1337/repos","events_url":"https://api.github.com/users/bikeath1337/events{/privacy}","received_events_url":"https://api.github.com/users/bikeath1337/received_events","type":"User","site_admin":false},"created_at":"2016-09-19T21:11:32Z","updated_at":"2016-09-19T21:11:32Z","body":"I do not want to beat a dead horse. There is no free lunch. Evaporate has to calculate the checksum of the first chunk and submit a HEAD to AWS for the object. Most likely, the most costly portion of this work will be the checksum work. In my case, with a 6MB part size, I get the response within 1 - 2 seconds. The time-cost is dependent on the chunk size--not the file size--and the round-trip HEAD request."}}
{"actor":{"display_login":"bikeath1337"}}