{"action":"created","issue":{"url":"https://api.github.com/repos/FineUploader/fine-uploader/issues/1191","repository_url":"https://api.github.com/repos/FineUploader/fine-uploader","labels_url":"https://api.github.com/repos/FineUploader/fine-uploader/issues/1191/labels{/name}","comments_url":"https://api.github.com/repos/FineUploader/fine-uploader/issues/1191/comments","events_url":"https://api.github.com/repos/FineUploader/fine-uploader/issues/1191/events","html_url":"https://github.com/FineUploader/fine-uploader/issues/1191","id":32107364,"number":1191,"title":"Expose public API method to add canned files","user":{"login":"rnicholus","id":593312,"avatar_url":"https://avatars.githubusercontent.com/u/593312?v=3","gravatar_id":"","url":"https://api.github.com/users/rnicholus","html_url":"https://github.com/rnicholus","followers_url":"https://api.github.com/users/rnicholus/followers","following_url":"https://api.github.com/users/rnicholus/following{/other_user}","gists_url":"https://api.github.com/users/rnicholus/gists{/gist_id}","starred_url":"https://api.github.com/users/rnicholus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rnicholus/subscriptions","organizations_url":"https://api.github.com/users/rnicholus/orgs","repos_url":"https://api.github.com/users/rnicholus/repos","events_url":"https://api.github.com/users/rnicholus/events{/privacy}","received_events_url":"https://api.github.com/users/rnicholus/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/FineUploader/fine-uploader/labels/5%20-%20Done","name":"5 - Done","color":"CCCCCC"},{"url":"https://api.github.com/repos/FineUploader/fine-uploader/labels/enhancement","name":"enhancement","color":"0b02e1"},{"url":"https://api.github.com/repos/FineUploader/fine-uploader/labels/waiting%20for%20feedback","name":"waiting for feedback","color":"d7e102"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/FineUploader/fine-uploader/milestones/65","html_url":"https://github.com/FineUploader/fine-uploader/milestones/5.6.0","labels_url":"https://api.github.com/repos/FineUploader/fine-uploader/milestones/65/labels","id":1557425,"number":65,"title":"5.6.0","description":"","creator":{"login":"rnicholus","id":593312,"avatar_url":"https://avatars.githubusercontent.com/u/593312?v=3","gravatar_id":"","url":"https://api.github.com/users/rnicholus","html_url":"https://github.com/rnicholus","followers_url":"https://api.github.com/users/rnicholus/followers","following_url":"https://api.github.com/users/rnicholus/following{/other_user}","gists_url":"https://api.github.com/users/rnicholus/gists{/gist_id}","starred_url":"https://api.github.com/users/rnicholus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rnicholus/subscriptions","organizations_url":"https://api.github.com/users/rnicholus/orgs","repos_url":"https://api.github.com/users/rnicholus/repos","events_url":"https://api.github.com/users/rnicholus/events{/privacy}","received_events_url":"https://api.github.com/users/rnicholus/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":0,"state":"open","created_at":"2016-02-02T05:32:13Z","updated_at":"2016-03-17T03:43:28Z","due_on":null,"closed_at":null},"comments":8,"created_at":"2014-04-23T23:02:28Z","updated_at":"2016-03-19T11:46:47Z","closed_at":null,"body":"Currently, canned file data must come from a server.  If the initial file list feature is enabled, Fine Uploader sends a GET request on init (and on `reset`), expecting JSON data to represent files uploaded successfully in a previous session.  It might be useful to allow successfully upload metadata to be persisted to and read from `localStorage` as an alternative.  Obviously, this is not possible in browsers that don't support `localStorage` such as IE7.\r\n\r\nAnother option may be to provide an API method where integrators can passed canned file data at any time.  This allows the data to be stored anywhere.\r\n\r\n<!---\r\n@huboard:{\"order\":203.91182988882065}\r\n-->\r\n"},"comment":{"url":"https://api.github.com/repos/FineUploader/fine-uploader/issues/comments/198688616","html_url":"https://github.com/FineUploader/fine-uploader/issues/1191#issuecomment-198688616","issue_url":"https://api.github.com/repos/FineUploader/fine-uploader/issues/1191","id":198688616,"user":{"login":"alphestdev","id":32202,"avatar_url":"https://avatars.githubusercontent.com/u/32202?v=3","gravatar_id":"","url":"https://api.github.com/users/alphestdev","html_url":"https://github.com/alphestdev","followers_url":"https://api.github.com/users/alphestdev/followers","following_url":"https://api.github.com/users/alphestdev/following{/other_user}","gists_url":"https://api.github.com/users/alphestdev/gists{/gist_id}","starred_url":"https://api.github.com/users/alphestdev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphestdev/subscriptions","organizations_url":"https://api.github.com/users/alphestdev/orgs","repos_url":"https://api.github.com/users/alphestdev/repos","events_url":"https://api.github.com/users/alphestdev/events{/privacy}","received_events_url":"https://api.github.com/users/alphestdev/received_events","type":"User","site_admin":false},"created_at":"2016-03-19T11:46:47Z","updated_at":"2016-03-19T11:46:47Z","body":"Using `getUploads` method I get the added file records with id's correctly. It's not performance friendly because now I have 2 loops instead of one, but it works."}}