{"action":"created","issue":{"url":"https://api.github.com/repos/cfpb/back-end/issues/3","repository_url":"https://api.github.com/repos/cfpb/back-end","labels_url":"https://api.github.com/repos/cfpb/back-end/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/cfpb/back-end/issues/3/comments","events_url":"https://api.github.com/repos/cfpb/back-end/issues/3/events","html_url":"https://github.com/cfpb/back-end/issues/3","id":101515050,"number":3,"title":"API Design ","user":{"login":"willbarton","id":10562538,"avatar_url":"https://avatars.githubusercontent.com/u/10562538?v=3","gravatar_id":"","url":"https://api.github.com/users/willbarton","html_url":"https://github.com/willbarton","followers_url":"https://api.github.com/users/willbarton/followers","following_url":"https://api.github.com/users/willbarton/following{/other_user}","gists_url":"https://api.github.com/users/willbarton/gists{/gist_id}","starred_url":"https://api.github.com/users/willbarton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/willbarton/subscriptions","organizations_url":"https://api.github.com/users/willbarton/orgs","repos_url":"https://api.github.com/users/willbarton/repos","events_url":"https://api.github.com/users/willbarton/events{/privacy}","received_events_url":"https://api.github.com/users/willbarton/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2015-08-17T21:35:27Z","updated_at":"2016-07-25T23:24:51Z","closed_at":null,"body":"How do we generally design our APIs? How do they return data from different methods (GET, POST, PUT, etc)? How do they error? How do we secure our writable APIs?\r\n\r\nThese are all the questions I have off the top of my head regarding API design that I think we should work to standardize. As far as best practices go, [I think this is a pretty good general rundown](http://www.vinaysahni.com/best-practices-for-a-pragmatic-restful-api)."},"comment":{"url":"https://api.github.com/repos/cfpb/back-end/issues/comments/235116921","html_url":"https://github.com/cfpb/back-end/issues/3#issuecomment-235116921","issue_url":"https://api.github.com/repos/cfpb/back-end/issues/3","id":235116921,"user":{"login":"lfatty","id":6775261,"avatar_url":"https://avatars.githubusercontent.com/u/6775261?v=3","gravatar_id":"","url":"https://api.github.com/users/lfatty","html_url":"https://github.com/lfatty","followers_url":"https://api.github.com/users/lfatty/followers","following_url":"https://api.github.com/users/lfatty/following{/other_user}","gists_url":"https://api.github.com/users/lfatty/gists{/gist_id}","starred_url":"https://api.github.com/users/lfatty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lfatty/subscriptions","organizations_url":"https://api.github.com/users/lfatty/orgs","repos_url":"https://api.github.com/users/lfatty/repos","events_url":"https://api.github.com/users/lfatty/events{/privacy}","received_events_url":"https://api.github.com/users/lfatty/received_events","type":"User","site_admin":false},"created_at":"2016-07-25T23:24:51Z","updated_at":"2016-07-25T23:24:51Z","body":"My recommendations are always to: \r\n\r\nDisplay a generic error message to the user.\r\n\r\nAlso do not leave the DEBUG mode on. In some frameworks, DEBUG mode can give access full-fledged REPL or shells or expose critical data in error messages stacktraces."}}
{"actor":{"display_login":"lfatty"}}