{"action":"created","comment":{"url":"https://api.github.com/repos/chanzuckerberg/cellxgene/pulls/comments/223482134","pull_request_review_id":162620370,"id":223482134,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyMzQ4MjEzNA==","diff_hunk":"@@ -201,8 +217,8 @@ def get(self):\n         try:\n             annotation_response = current_app.data.annotation(current_app.data.data, \"obs\", fields)\n         except KeyError:\n-            return make_response(f\"Error bad key in {fields}\", 404)\n-        return make_response(jsonify(annotation_response))\n+            return make_response(f\"Error bad key in {fields}\", HTTPStatus.NOT_FOUND)","path":"server/app/rest_api/rest.py","position":79,"original_position":79,"commit_id":"2db9048ded7ce32391371b84a00171f5734ec444","original_commit_id":"f2cfd4f3af9d6d0b1442f3c0e76ebbbbe1bcc74f","user":{"login":"csweaver","id":1517263,"node_id":"MDQ6VXNlcjE1MTcyNjM=","avatar_url":"https://avatars1.githubusercontent.com/u/1517263?v=4","gravatar_id":"","url":"https://api.github.com/users/csweaver","html_url":"https://github.com/csweaver","followers_url":"https://api.github.com/users/csweaver/followers","following_url":"https://api.github.com/users/csweaver/following{/other_user}","gists_url":"https://api.github.com/users/csweaver/gists{/gist_id}","starred_url":"https://api.github.com/users/csweaver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/csweaver/subscriptions","organizations_url":"https://api.github.com/users/csweaver/orgs","repos_url":"https://api.github.com/users/csweaver/repos","events_url":"https://api.github.com/users/csweaver/events{/privacy}","received_events_url":"https://api.github.com/users/csweaver/received_events","type":"User","site_admin":false},"body":"will do","created_at":"2018-10-08T20:05:26Z","updated_at":"2018-10-08T20:05:26Z","html_url":"https://github.com/chanzuckerberg/cellxgene/pull/299#discussion_r223482134","pull_request_url":"https://api.github.com/repos/chanzuckerberg/cellxgene/pulls/299","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/chanzuckerberg/cellxgene/pulls/comments/223482134"},"html":{"href":"https://github.com/chanzuckerberg/cellxgene/pull/299#discussion_r223482134"},"pull_request":{"href":"https://api.github.com/repos/chanzuckerberg/cellxgene/pulls/299"}},"in_reply_to_id":223083812},"pull_request":{"url":"https://api.github.com/repos/chanzuckerberg/cellxgene/pulls/299","id":220547473,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIwNTQ3NDcz","html_url":"https://github.com/chanzuckerberg/cellxgene/pull/299","diff_url":"https://github.com/chanzuckerberg/cellxgene/pull/299.diff","patch_url":"https://github.com/chanzuckerberg/cellxgene/pull/299.patch","issue_url":"https://api.github.com/repos/chanzuckerberg/cellxgene/issues/299","number":299,"state":"open","locked":false,"title":"REST Error handling","user":{"login":"csweaver","id":1517263,"node_id":"MDQ6VXNlcjE1MTcyNjM=","avatar_url":"https://avatars1.githubusercontent.com/u/1517263?v=4","gravatar_id":"","url":"https://api.github.com/users/csweaver","html_url":"https://github.com/csweaver","followers_url":"https://api.github.com/users/csweaver/followers","following_url":"https://api.github.com/users/csweaver/following{/other_user}","gists_url":"https://api.github.com/users/csweaver/gists{/gist_id}","starred_url":"https://api.github.com/users/csweaver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/csweaver/subscriptions","organizations_url":"https://api.github.com/users/csweaver/orgs","repos_url":"https://api.github.com/users/csweaver/repos","events_url":"https://api.github.com/users/csweaver/events{/privacy}","received_events_url":"https://api.github.com/users/csweaver/received_events","type":"User","site_admin":false},"body":"Adding documentation, logic, and tests to handle errors specified by the spec document (added in the  ones that fell through the cracks on the first pass)\r\n","created_at":"2018-10-04T23:38:26Z","updated_at":"2018-10-08T20:05:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2fb00b7deaca13affa7287c13321dc5754fc32c0","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/chanzuckerberg/cellxgene/pulls/299/commits","review_comments_url":"https://api.github.com/repos/chanzuckerberg/cellxgene/pulls/299/comments","review_comment_url":"https://api.github.com/repos/chanzuckerberg/cellxgene/pulls/comments{/number}","comments_url":"https://api.github.com/repos/chanzuckerberg/cellxgene/issues/299/comments","statuses_url":"https://api.github.com/repos/chanzuckerberg/cellxgene/statuses/2db9048ded7ce32391371b84a00171f5734ec444","head":{"label":"chanzuckerberg:csweaver/rest-error-handling","ref":"csweaver/rest-error-handling","sha":"2db9048ded7ce32391371b84a00171f5734ec444","user":{"login":"chanzuckerberg","id":19917299,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE5OTE3Mjk5","avatar_url":"https://avatars2.githubusercontent.com/u/19917299?v=4","gravatar_id":"","url":"https://api.github.com/users/chanzuckerberg","html_url":"https://github.com/chanzuckerberg","followers_url":"https://api.github.com/users/chanzuckerberg/followers","following_url":"https://api.github.com/users/chanzuckerberg/following{/other_user}","gists_url":"https://api.github.com/users/chanzuckerberg/gists{/gist_id}","starred_url":"https://api.github.com/users/chanzuckerberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chanzuckerberg/subscriptions","organizations_url":"https://api.github.com/users/chanzuckerberg/orgs","repos_url":"https://api.github.com/users/chanzuckerberg/repos","events_url":"https://api.github.com/users/chanzuckerberg/events{/privacy}","received_events_url":"https://api.github.com/users/chanzuckerberg/received_events","type":"Organization","site_admin":false},"repo":{"id":105615409,"node_id":"MDEwOlJlcG9zaXRvcnkxMDU2MTU0MDk=","name":"cellxgene","full_name":"chanzuckerberg/cellxgene","private":false,"owner":{"login":"chanzuckerberg","id":19917299,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE5OTE3Mjk5","avatar_url":"https://avatars2.githubusercontent.com/u/19917299?v=4","gravatar_id":"","url":"https://api.github.com/users/chanzuckerberg","html_url":"https://github.com/chanzuckerberg","followers_url":"https://api.github.com/users/chanzuckerberg/followers","following_url":"https://api.github.com/users/chanzuckerberg/following{/other_user}","gists_url":"https://api.github.com/users/chanzuckerberg/gists{/gist_id}","starred_url":"https://api.github.com/users/chanzuckerberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chanzuckerberg/subscriptions","organizations_url":"https://api.github.com/users/chanzuckerberg/orgs","repos_url":"https://api.github.com/users/chanzuckerberg/repos","events_url":"https://api.github.com/users/chanzuckerberg/events{/privacy}","received_events_url":"https://api.github.com/users/chanzuckerberg/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/chanzuckerberg/cellxgene","description":"React + Redux app for exploration of large scale scRNA-seq datasets","fork":false,"url":"https://api.github.com/repos/chanzuckerberg/cellxgene","forks_url":"https://api.github.com/repos/chanzuckerberg/cellxgene/forks","keys_url":"https://api.github.com/repos/chanzuckerberg/cellxgene/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chanzuckerberg/cellxgene/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chanzuckerberg/cellxgene/teams","hooks_url":"https://api.github.com/repos/chanzuckerberg/cellxgene/hooks","issue_events_url":"https://api.github.com/repos/chanzuckerberg/cellxgene/issues/events{/number}","events_url":"https://api.github.com/repos/chanzuckerberg/cellxgene/events","assignees_url":"https://api.github.com/repos/chanzuckerberg/cellxgene/assignees{/user}","branches_url":"https://api.github.com/repos/chanzuckerberg/cellxgene/branches{/branch}","tags_url":"https://api.github.com/repos/chanzuckerberg/cellxgene/tags","blobs_url":"https://api.github.com/repos/chanzuckerberg/cellxgene/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chanzuckerberg/cellxgene/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chanzuckerberg/cellxgene/git/refs{/sha}","trees_url":"https://api.github.com/repos/chanzuckerberg/cellxgene/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chanzuckerberg/cellxgene/statuses/{sha}","languages_url":"https://api.github.com/repos/chanzuckerberg/cellxgene/languages","stargazers_url":"https://api.github.com/repos/chanzuckerberg/cellxgene/stargazers","contributors_url":"https://api.github.com/repos/chanzuckerberg/cellxgene/contributors","subscribers_url":"https://api.github.com/repos/chanzuckerberg/cellxgene/subscribers","subscription_url":"https://api.github.com/repos/chanzuckerberg/cellxgene/subscription","commits_url":"https://api.github.com/repos/chanzuckerberg/cellxgene/commits{/sha}","git_commits_url":"https://api.github.com/repos/chanzuckerberg/cellxgene/git/commits{/sha}","comments_url":"https://api.github.com/repos/chanzuckerberg/cellxgene/comments{/number}","issue_comment_url":"https://api.github.com/repos/chanzuckerberg/cellxgene/issues/comments{/number}","contents_url":"https://api.github.com/repos/chanzuckerberg/cellxgene/contents/{+path}","compare_url":"https://api.github.com/repos/chanzuckerberg/cellxgene/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chanzuckerberg/cellxgene/merges","archive_url":"https://api.github.com/repos/chanzuckerberg/cellxgene/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chanzuckerberg/cellxgene/downloads","issues_url":"https://api.github.com/repos/chanzuckerberg/cellxgene/issues{/number}","pulls_url":"https://api.github.com/repos/chanzuckerberg/cellxgene/pulls{/number}","milestones_url":"https://api.github.com/repos/chanzuckerberg/cellxgene/milestones{/number}","notifications_url":"https://api.github.com/repos/chanzuckerberg/cellxgene/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chanzuckerberg/cellxgene/labels{/name}","releases_url":"https://api.github.com/repos/chanzuckerberg/cellxgene/releases{/id}","deployments_url":"https://api.github.com/repos/chanzuckerberg/cellxgene/deployments","created_at":"2017-10-03T04:49:51Z","updated_at":"2018-10-08T19:57:09Z","pushed_at":"2018-10-08T20:00:29Z","git_url":"git://github.com/chanzuckerberg/cellxgene.git","ssh_url":"git@github.com:chanzuckerberg/cellxgene.git","clone_url":"https://github.com/chanzuckerberg/cellxgene.git","svn_url":"https://github.com/chanzuckerberg/cellxgene","homepage":"","size":27888,"stargazers_count":21,"watchers_count":21,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":108,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":2,"open_issues":108,"watchers":21,"default_branch":"master"}},"base":{"label":"chanzuckerberg:master","ref":"master","sha":"187bbfdcf7e6cc60f74fbba2ad1be870808c4845","user":{"login":"chanzuckerberg","id":19917299,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE5OTE3Mjk5","avatar_url":"https://avatars2.githubusercontent.com/u/19917299?v=4","gravatar_id":"","url":"https://api.github.com/users/chanzuckerberg","html_url":"https://github.com/chanzuckerberg","followers_url":"https://api.github.com/users/chanzuckerberg/followers","following_url":"https://api.github.com/users/chanzuckerberg/following{/other_user}","gists_url":"https://api.github.com/users/chanzuckerberg/gists{/gist_id}","starred_url":"https://api.github.com/users/chanzuckerberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chanzuckerberg/subscriptions","organizations_url":"https://api.github.com/users/chanzuckerberg/orgs","repos_url":"https://api.github.com/users/chanzuckerberg/repos","events_url":"https://api.github.com/users/chanzuckerberg/events{/privacy}","received_events_url":"https://api.github.com/users/chanzuckerberg/received_events","type":"Organization","site_admin":false},"repo":{"id":105615409,"node_id":"MDEwOlJlcG9zaXRvcnkxMDU2MTU0MDk=","name":"cellxgene","full_name":"chanzuckerberg/cellxgene","private":false,"owner":{"login":"chanzuckerberg","id":19917299,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE5OTE3Mjk5","avatar_url":"https://avatars2.githubusercontent.com/u/19917299?v=4","gravatar_id":"","url":"https://api.github.com/users/chanzuckerberg","html_url":"https://github.com/chanzuckerberg","followers_url":"https://api.github.com/users/chanzuckerberg/followers","following_url":"https://api.github.com/users/chanzuckerberg/following{/other_user}","gists_url":"https://api.github.com/users/chanzuckerberg/gists{/gist_id}","starred_url":"https://api.github.com/users/chanzuckerberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chanzuckerberg/subscriptions","organizations_url":"https://api.github.com/users/chanzuckerberg/orgs","repos_url":"https://api.github.com/users/chanzuckerberg/repos","events_url":"https://api.github.com/users/chanzuckerberg/events{/privacy}","received_events_url":"https://api.github.com/users/chanzuckerberg/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/chanzuckerberg/cellxgene","description":"React + Redux app for exploration of large scale scRNA-seq datasets","fork":false,"url":"https://api.github.com/repos/chanzuckerberg/cellxgene","forks_url":"https://api.github.com/repos/chanzuckerberg/cellxgene/forks","keys_url":"https://api.github.com/repos/chanzuckerberg/cellxgene/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chanzuckerberg/cellxgene/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chanzuckerberg/cellxgene/teams","hooks_url":"https://api.github.com/repos/chanzuckerberg/cellxgene/hooks","issue_events_url":"https://api.github.com/repos/chanzuckerberg/cellxgene/issues/events{/number}","events_url":"https://api.github.com/repos/chanzuckerberg/cellxgene/events","assignees_url":"https://api.github.com/repos/chanzuckerberg/cellxgene/assignees{/user}","branches_url":"https://api.github.com/repos/chanzuckerberg/cellxgene/branches{/branch}","tags_url":"https://api.github.com/repos/chanzuckerberg/cellxgene/tags","blobs_url":"https://api.github.com/repos/chanzuckerberg/cellxgene/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chanzuckerberg/cellxgene/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chanzuckerberg/cellxgene/git/refs{/sha}","trees_url":"https://api.github.com/repos/chanzuckerberg/cellxgene/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chanzuckerberg/cellxgene/statuses/{sha}","languages_url":"https://api.github.com/repos/chanzuckerberg/cellxgene/languages","stargazers_url":"https://api.github.com/repos/chanzuckerberg/cellxgene/stargazers","contributors_url":"https://api.github.com/repos/chanzuckerberg/cellxgene/contributors","subscribers_url":"https://api.github.com/repos/chanzuckerberg/cellxgene/subscribers","subscription_url":"https://api.github.com/repos/chanzuckerberg/cellxgene/subscription","commits_url":"https://api.github.com/repos/chanzuckerberg/cellxgene/commits{/sha}","git_commits_url":"https://api.github.com/repos/chanzuckerberg/cellxgene/git/commits{/sha}","comments_url":"https://api.github.com/repos/chanzuckerberg/cellxgene/comments{/number}","issue_comment_url":"https://api.github.com/repos/chanzuckerberg/cellxgene/issues/comments{/number}","contents_url":"https://api.github.com/repos/chanzuckerberg/cellxgene/contents/{+path}","compare_url":"https://api.github.com/repos/chanzuckerberg/cellxgene/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chanzuckerberg/cellxgene/merges","archive_url":"https://api.github.com/repos/chanzuckerberg/cellxgene/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chanzuckerberg/cellxgene/downloads","issues_url":"https://api.github.com/repos/chanzuckerberg/cellxgene/issues{/number}","pulls_url":"https://api.github.com/repos/chanzuckerberg/cellxgene/pulls{/number}","milestones_url":"https://api.github.com/repos/chanzuckerberg/cellxgene/milestones{/number}","notifications_url":"https://api.github.com/repos/chanzuckerberg/cellxgene/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chanzuckerberg/cellxgene/labels{/name}","releases_url":"https://api.github.com/repos/chanzuckerberg/cellxgene/releases{/id}","deployments_url":"https://api.github.com/repos/chanzuckerberg/cellxgene/deployments","created_at":"2017-10-03T04:49:51Z","updated_at":"2018-10-08T19:57:09Z","pushed_at":"2018-10-08T20:00:29Z","git_url":"git://github.com/chanzuckerberg/cellxgene.git","ssh_url":"git@github.com:chanzuckerberg/cellxgene.git","clone_url":"https://github.com/chanzuckerberg/cellxgene.git","svn_url":"https://github.com/chanzuckerberg/cellxgene","homepage":"","size":27888,"stargazers_count":21,"watchers_count":21,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":108,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":2,"open_issues":108,"watchers":21,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/chanzuckerberg/cellxgene/pulls/299"},"html":{"href":"https://github.com/chanzuckerberg/cellxgene/pull/299"},"issue":{"href":"https://api.github.com/repos/chanzuckerberg/cellxgene/issues/299"},"comments":{"href":"https://api.github.com/repos/chanzuckerberg/cellxgene/issues/299/comments"},"review_comments":{"href":"https://api.github.com/repos/chanzuckerberg/cellxgene/pulls/299/comments"},"review_comment":{"href":"https://api.github.com/repos/chanzuckerberg/cellxgene/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/chanzuckerberg/cellxgene/pulls/299/commits"},"statuses":{"href":"https://api.github.com/repos/chanzuckerberg/cellxgene/statuses/2db9048ded7ce32391371b84a00171f5734ec444"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"csweaver"}}