{"action":"created","issue":{"url":"https://api.github.com/repos/balderdashy/skipper/issues/35","labels_url":"https://api.github.com/repos/balderdashy/skipper/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/balderdashy/skipper/issues/35/comments","events_url":"https://api.github.com/repos/balderdashy/skipper/issues/35/events","html_url":"https://github.com/balderdashy/skipper/issues/35","id":40266211,"number":35,"title":"Limiting files by type","user":{"login":"AaronShea","id":1334174,"avatar_url":"https://avatars.githubusercontent.com/u/1334174?v=3","gravatar_id":"","url":"https://api.github.com/users/AaronShea","html_url":"https://github.com/AaronShea","followers_url":"https://api.github.com/users/AaronShea/followers","following_url":"https://api.github.com/users/AaronShea/following{/other_user}","gists_url":"https://api.github.com/users/AaronShea/gists{/gist_id}","starred_url":"https://api.github.com/users/AaronShea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AaronShea/subscriptions","organizations_url":"https://api.github.com/users/AaronShea/orgs","repos_url":"https://api.github.com/users/AaronShea/repos","events_url":"https://api.github.com/users/AaronShea/events{/privacy}","received_events_url":"https://api.github.com/users/AaronShea/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2014-08-14T15:28:48Z","updated_at":"2015-09-22T06:40:24Z","closed_at":null,"body":"I'm wondering what the best way to go about limiting the file types for uploads would be. \r\nFor example, a function that can be called when the file is finished streaming, but before it is saved to disk/uploaded to s3. Allowing the upload to be stopped if the file is not the correct type."},"comment":{"url":"https://api.github.com/repos/balderdashy/skipper/issues/comments/142194786","html_url":"https://github.com/balderdashy/skipper/issues/35#issuecomment-142194786","issue_url":"https://api.github.com/repos/balderdashy/skipper/issues/35","id":142194786,"user":{"login":"sailsbot","id":14700466,"avatar_url":"https://avatars.githubusercontent.com/u/14700466?v=3","gravatar_id":"","url":"https://api.github.com/users/sailsbot","html_url":"https://github.com/sailsbot","followers_url":"https://api.github.com/users/sailsbot/followers","following_url":"https://api.github.com/users/sailsbot/following{/other_user}","gists_url":"https://api.github.com/users/sailsbot/gists{/gist_id}","starred_url":"https://api.github.com/users/sailsbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sailsbot/subscriptions","organizations_url":"https://api.github.com/users/sailsbot/orgs","repos_url":"https://api.github.com/users/sailsbot/repos","events_url":"https://api.github.com/users/sailsbot/events{/privacy}","received_events_url":"https://api.github.com/users/sailsbot/received_events","type":"User","site_admin":false},"created_at":"2015-09-22T06:40:24Z","updated_at":"2015-09-22T06:40:24Z","body":"Thanks for posting, @AaronShea.  I'm a repo bot-- nice to meet you!\n\nIt has been 60 days since there have been any updates or new comments on this page.  If this issue has been resolved, feel free to disregard the rest of this message.  On the other hand, if you are still waiting on a patch, please:\n\n  + review our [contribution guide](https://github.com/balderdashy/sails/blob/master/CONTRIBUTING.md) to make sure this submission meets our criteria (only _verified bugs_ with documented features, please;  no questions, commentary, or bug reports about undocumented features or unofficial plugins)\n  + create a new issue with the latest information, including updated version details with error messages, failing tests, and a link back to [the original issue]().  This allows GitHub to automatically create a back-reference for future visitors arriving from search engines.\n\nThanks so much for your help!"}}