{"action":"opened","number":5,"pull_request":{"url":"https://api.github.com/repos/umermansoor/microservices/pulls/5","id":52914159,"html_url":"https://github.com/umermansoor/microservices/pull/5","diff_url":"https://github.com/umermansoor/microservices/pull/5.diff","patch_url":"https://github.com/umermansoor/microservices/pull/5.patch","issue_url":"https://api.github.com/repos/umermansoor/microservices/issues/5","number":5,"state":"open","locked":false,"title":"fix(user): change to throw useful exception","user":{"login":"griffinb","id":1065392,"avatar_url":"https://avatars.githubusercontent.com/u/1065392?v=3","gravatar_id":"","url":"https://api.github.com/users/griffinb","html_url":"https://github.com/griffinb","followers_url":"https://api.github.com/users/griffinb/followers","following_url":"https://api.github.com/users/griffinb/following{/other_user}","gists_url":"https://api.github.com/users/griffinb/gists{/gist_id}","starred_url":"https://api.github.com/users/griffinb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/griffinb/subscriptions","organizations_url":"https://api.github.com/users/griffinb/orgs","repos_url":"https://api.github.com/users/griffinb/repos","events_url":"https://api.github.com/users/griffinb/events{/privacy}","received_events_url":"https://api.github.com/users/griffinb/received_events","type":"User","site_admin":false},"body":"Currently, when a user hits the /users/<username>/suggested route, a large exception is thrown\r\nin the logs since this route is not implemented. A NotImplementedError would be more useful for\r\nthe time being.\r\n\r\nResolves https://github.com/umermansoor/microservices/issues/4","created_at":"2015-12-07T22:57:58Z","updated_at":"2015-12-07T22:57:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/umermansoor/microservices/pulls/5/commits","review_comments_url":"https://api.github.com/repos/umermansoor/microservices/pulls/5/comments","review_comment_url":"https://api.github.com/repos/umermansoor/microservices/pulls/comments{/number}","comments_url":"https://api.github.com/repos/umermansoor/microservices/issues/5/comments","statuses_url":"https://api.github.com/repos/umermansoor/microservices/statuses/841a39fb8cbb4057462e0905a7eeef526c94238e","head":{"label":"griffinb:api","ref":"api","sha":"841a39fb8cbb4057462e0905a7eeef526c94238e","user":{"login":"griffinb","id":1065392,"avatar_url":"https://avatars.githubusercontent.com/u/1065392?v=3","gravatar_id":"","url":"https://api.github.com/users/griffinb","html_url":"https://github.com/griffinb","followers_url":"https://api.github.com/users/griffinb/followers","following_url":"https://api.github.com/users/griffinb/following{/other_user}","gists_url":"https://api.github.com/users/griffinb/gists{/gist_id}","starred_url":"https://api.github.com/users/griffinb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/griffinb/subscriptions","organizations_url":"https://api.github.com/users/griffinb/orgs","repos_url":"https://api.github.com/users/griffinb/repos","events_url":"https://api.github.com/users/griffinb/events{/privacy}","received_events_url":"https://api.github.com/users/griffinb/received_events","type":"User","site_admin":false},"repo":{"id":47583252,"name":"microservices","full_name":"griffinb/microservices","owner":{"login":"griffinb","id":1065392,"avatar_url":"https://avatars.githubusercontent.com/u/1065392?v=3","gravatar_id":"","url":"https://api.github.com/users/griffinb","html_url":"https://github.com/griffinb","followers_url":"https://api.github.com/users/griffinb/followers","following_url":"https://api.github.com/users/griffinb/following{/other_user}","gists_url":"https://api.github.com/users/griffinb/gists{/gist_id}","starred_url":"https://api.github.com/users/griffinb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/griffinb/subscriptions","organizations_url":"https://api.github.com/users/griffinb/orgs","repos_url":"https://api.github.com/users/griffinb/repos","events_url":"https://api.github.com/users/griffinb/events{/privacy}","received_events_url":"https://api.github.com/users/griffinb/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/griffinb/microservices","description":"Example of Microservices written using Flask.","fork":true,"url":"https://api.github.com/repos/griffinb/microservices","forks_url":"https://api.github.com/repos/griffinb/microservices/forks","keys_url":"https://api.github.com/repos/griffinb/microservices/keys{/key_id}","collaborators_url":"https://api.github.com/repos/griffinb/microservices/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/griffinb/microservices/teams","hooks_url":"https://api.github.com/repos/griffinb/microservices/hooks","issue_events_url":"https://api.github.com/repos/griffinb/microservices/issues/events{/number}","events_url":"https://api.github.com/repos/griffinb/microservices/events","assignees_url":"https://api.github.com/repos/griffinb/microservices/assignees{/user}","branches_url":"https://api.github.com/repos/griffinb/microservices/branches{/branch}","tags_url":"https://api.github.com/repos/griffinb/microservices/tags","blobs_url":"https://api.github.com/repos/griffinb/microservices/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/griffinb/microservices/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/griffinb/microservices/git/refs{/sha}","trees_url":"https://api.github.com/repos/griffinb/microservices/git/trees{/sha}","statuses_url":"https://api.github.com/repos/griffinb/microservices/statuses/{sha}","languages_url":"https://api.github.com/repos/griffinb/microservices/languages","stargazers_url":"https://api.github.com/repos/griffinb/microservices/stargazers","contributors_url":"https://api.github.com/repos/griffinb/microservices/contributors","subscribers_url":"https://api.github.com/repos/griffinb/microservices/subscribers","subscription_url":"https://api.github.com/repos/griffinb/microservices/subscription","commits_url":"https://api.github.com/repos/griffinb/microservices/commits{/sha}","git_commits_url":"https://api.github.com/repos/griffinb/microservices/git/commits{/sha}","comments_url":"https://api.github.com/repos/griffinb/microservices/comments{/number}","issue_comment_url":"https://api.github.com/repos/griffinb/microservices/issues/comments{/number}","contents_url":"https://api.github.com/repos/griffinb/microservices/contents/{+path}","compare_url":"https://api.github.com/repos/griffinb/microservices/compare/{base}...{head}","merges_url":"https://api.github.com/repos/griffinb/microservices/merges","archive_url":"https://api.github.com/repos/griffinb/microservices/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/griffinb/microservices/downloads","issues_url":"https://api.github.com/repos/griffinb/microservices/issues{/number}","pulls_url":"https://api.github.com/repos/griffinb/microservices/pulls{/number}","milestones_url":"https://api.github.com/repos/griffinb/microservices/milestones{/number}","notifications_url":"https://api.github.com/repos/griffinb/microservices/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/griffinb/microservices/labels{/name}","releases_url":"https://api.github.com/repos/griffinb/microservices/releases{/id}","created_at":"2015-12-07T22:28:29Z","updated_at":"2015-12-07T22:28:30Z","pushed_at":"2015-12-07T22:57:40Z","git_url":"git://github.com/griffinb/microservices.git","ssh_url":"git@github.com:griffinb/microservices.git","clone_url":"https://github.com/griffinb/microservices.git","svn_url":"https://github.com/griffinb/microservices","homepage":null,"size":15,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"umermansoor:master","ref":"master","sha":"fa3c5a748087b191f2f6b49455edafc9aa437dd2","user":{"login":"umermansoor","id":862952,"avatar_url":"https://avatars.githubusercontent.com/u/862952?v=3","gravatar_id":"","url":"https://api.github.com/users/umermansoor","html_url":"https://github.com/umermansoor","followers_url":"https://api.github.com/users/umermansoor/followers","following_url":"https://api.github.com/users/umermansoor/following{/other_user}","gists_url":"https://api.github.com/users/umermansoor/gists{/gist_id}","starred_url":"https://api.github.com/users/umermansoor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/umermansoor/subscriptions","organizations_url":"https://api.github.com/users/umermansoor/orgs","repos_url":"https://api.github.com/users/umermansoor/repos","events_url":"https://api.github.com/users/umermansoor/events{/privacy}","received_events_url":"https://api.github.com/users/umermansoor/received_events","type":"User","site_admin":false},"repo":{"id":47150926,"name":"microservices","full_name":"umermansoor/microservices","owner":{"login":"umermansoor","id":862952,"avatar_url":"https://avatars.githubusercontent.com/u/862952?v=3","gravatar_id":"","url":"https://api.github.com/users/umermansoor","html_url":"https://github.com/umermansoor","followers_url":"https://api.github.com/users/umermansoor/followers","following_url":"https://api.github.com/users/umermansoor/following{/other_user}","gists_url":"https://api.github.com/users/umermansoor/gists{/gist_id}","starred_url":"https://api.github.com/users/umermansoor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/umermansoor/subscriptions","organizations_url":"https://api.github.com/users/umermansoor/orgs","repos_url":"https://api.github.com/users/umermansoor/repos","events_url":"https://api.github.com/users/umermansoor/events{/privacy}","received_events_url":"https://api.github.com/users/umermansoor/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/umermansoor/microservices","description":"Example of Microservices written using Flask.","fork":false,"url":"https://api.github.com/repos/umermansoor/microservices","forks_url":"https://api.github.com/repos/umermansoor/microservices/forks","keys_url":"https://api.github.com/repos/umermansoor/microservices/keys{/key_id}","collaborators_url":"https://api.github.com/repos/umermansoor/microservices/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/umermansoor/microservices/teams","hooks_url":"https://api.github.com/repos/umermansoor/microservices/hooks","issue_events_url":"https://api.github.com/repos/umermansoor/microservices/issues/events{/number}","events_url":"https://api.github.com/repos/umermansoor/microservices/events","assignees_url":"https://api.github.com/repos/umermansoor/microservices/assignees{/user}","branches_url":"https://api.github.com/repos/umermansoor/microservices/branches{/branch}","tags_url":"https://api.github.com/repos/umermansoor/microservices/tags","blobs_url":"https://api.github.com/repos/umermansoor/microservices/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/umermansoor/microservices/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/umermansoor/microservices/git/refs{/sha}","trees_url":"https://api.github.com/repos/umermansoor/microservices/git/trees{/sha}","statuses_url":"https://api.github.com/repos/umermansoor/microservices/statuses/{sha}","languages_url":"https://api.github.com/repos/umermansoor/microservices/languages","stargazers_url":"https://api.github.com/repos/umermansoor/microservices/stargazers","contributors_url":"https://api.github.com/repos/umermansoor/microservices/contributors","subscribers_url":"https://api.github.com/repos/umermansoor/microservices/subscribers","subscription_url":"https://api.github.com/repos/umermansoor/microservices/subscription","commits_url":"https://api.github.com/repos/umermansoor/microservices/commits{/sha}","git_commits_url":"https://api.github.com/repos/umermansoor/microservices/git/commits{/sha}","comments_url":"https://api.github.com/repos/umermansoor/microservices/comments{/number}","issue_comment_url":"https://api.github.com/repos/umermansoor/microservices/issues/comments{/number}","contents_url":"https://api.github.com/repos/umermansoor/microservices/contents/{+path}","compare_url":"https://api.github.com/repos/umermansoor/microservices/compare/{base}...{head}","merges_url":"https://api.github.com/repos/umermansoor/microservices/merges","archive_url":"https://api.github.com/repos/umermansoor/microservices/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/umermansoor/microservices/downloads","issues_url":"https://api.github.com/repos/umermansoor/microservices/issues{/number}","pulls_url":"https://api.github.com/repos/umermansoor/microservices/pulls{/number}","milestones_url":"https://api.github.com/repos/umermansoor/microservices/milestones{/number}","notifications_url":"https://api.github.com/repos/umermansoor/microservices/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/umermansoor/microservices/labels{/name}","releases_url":"https://api.github.com/repos/umermansoor/microservices/releases{/id}","created_at":"2015-11-30T22:50:15Z","updated_at":"2015-12-07T22:26:41Z","pushed_at":"2015-12-06T20:27:55Z","git_url":"git://github.com/umermansoor/microservices.git","ssh_url":"git@github.com:umermansoor/microservices.git","clone_url":"https://github.com/umermansoor/microservices.git","svn_url":"https://github.com/umermansoor/microservices","homepage":null,"size":16,"stargazers_count":354,"watchers_count":354,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":27,"mirror_url":null,"open_issues_count":5,"forks":27,"open_issues":5,"watchers":354,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/umermansoor/microservices/pulls/5"},"html":{"href":"https://github.com/umermansoor/microservices/pull/5"},"issue":{"href":"https://api.github.com/repos/umermansoor/microservices/issues/5"},"comments":{"href":"https://api.github.com/repos/umermansoor/microservices/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/umermansoor/microservices/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/umermansoor/microservices/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/umermansoor/microservices/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/umermansoor/microservices/statuses/841a39fb8cbb4057462e0905a7eeef526c94238e"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}