{"action":"created","comment":{"url":"https://api.github.com/repos/cul-it/arxiv-zero/pulls/comments/200681959","pull_request_review_id":135050379,"id":200681959,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwMDY4MTk1OQ==","diff_hunk":"@@ -52,3 +61,27 @@ def mutation_status(task_id: str) -> tuple:\n     \"\"\"Get the status of the mutation task.\"\"\"\n     data, status_code, headers = things.mutation_status(task_id)\n     return jsonify(data), status_code, headers\n+\n+\n+# Here's where we register exception handlers.\n+\n+@blueprint.errorhandler(NotFound)","path":"zero/routes/external_api.py","position":29,"original_position":29,"commit_id":"43cd8fe681ab99f57750a2097ff01de9e1165331","original_commit_id":"43cd8fe681ab99f57750a2097ff01de9e1165331","user":{"login":"erickpeirson","id":3451594,"node_id":"MDQ6VXNlcjM0NTE1OTQ=","avatar_url":"https://avatars2.githubusercontent.com/u/3451594?v=4","gravatar_id":"","url":"https://api.github.com/users/erickpeirson","html_url":"https://github.com/erickpeirson","followers_url":"https://api.github.com/users/erickpeirson/followers","following_url":"https://api.github.com/users/erickpeirson/following{/other_user}","gists_url":"https://api.github.com/users/erickpeirson/gists{/gist_id}","starred_url":"https://api.github.com/users/erickpeirson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erickpeirson/subscriptions","organizations_url":"https://api.github.com/users/erickpeirson/orgs","repos_url":"https://api.github.com/users/erickpeirson/repos","events_url":"https://api.github.com/users/erickpeirson/events{/privacy}","received_events_url":"https://api.github.com/users/erickpeirson/received_events","type":"User","site_admin":false},"body":"Where's where the example starts for JSON API","created_at":"2018-07-06T15:05:41Z","updated_at":"2018-07-06T15:05:41Z","html_url":"https://github.com/cul-it/arxiv-zero/pull/19#discussion_r200681959","pull_request_url":"https://api.github.com/repos/cul-it/arxiv-zero/pulls/19","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/cul-it/arxiv-zero/pulls/comments/200681959"},"html":{"href":"https://github.com/cul-it/arxiv-zero/pull/19#discussion_r200681959"},"pull_request":{"href":"https://api.github.com/repos/cul-it/arxiv-zero/pulls/19"}}},"pull_request":{"url":"https://api.github.com/repos/cul-it/arxiv-zero/pulls/19","id":199773435,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk5NzczNDM1","html_url":"https://github.com/cul-it/arxiv-zero/pull/19","diff_url":"https://github.com/cul-it/arxiv-zero/pull/19.diff","patch_url":"https://github.com/cul-it/arxiv-zero/pull/19.patch","issue_url":"https://api.github.com/repos/cul-it/arxiv-zero/issues/19","number":19,"state":"open","locked":false,"title":"ARXIVNG-970 Documentation + examples for HTTP exceptions","user":{"login":"erickpeirson","id":3451594,"node_id":"MDQ6VXNlcjM0NTE1OTQ=","avatar_url":"https://avatars2.githubusercontent.com/u/3451594?v=4","gravatar_id":"","url":"https://api.github.com/users/erickpeirson","html_url":"https://github.com/erickpeirson","followers_url":"https://api.github.com/users/erickpeirson/followers","following_url":"https://api.github.com/users/erickpeirson/following{/other_user}","gists_url":"https://api.github.com/users/erickpeirson/gists{/gist_id}","starred_url":"https://api.github.com/users/erickpeirson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erickpeirson/subscriptions","organizations_url":"https://api.github.com/users/erickpeirson/orgs","repos_url":"https://api.github.com/users/erickpeirson/repos","events_url":"https://api.github.com/users/erickpeirson/events{/privacy}","received_events_url":"https://api.github.com/users/erickpeirson/received_events","type":"User","site_admin":false},"body":"See also https://cul-it.github.io/arxiv-zero/architecture.html#exceptions for an entry-point into this topic.","created_at":"2018-07-06T15:04:32Z","updated_at":"2018-07-06T15:05:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":"64ea87f5de557287baf5c7b52c3d058240a16616","assignee":null,"assignees":[],"requested_reviewers":[{"login":"DavidLFielding","id":2325384,"node_id":"MDQ6VXNlcjIzMjUzODQ=","avatar_url":"https://avatars3.githubusercontent.com/u/2325384?v=4","gravatar_id":"","url":"https://api.github.com/users/DavidLFielding","html_url":"https://github.com/DavidLFielding","followers_url":"https://api.github.com/users/DavidLFielding/followers","following_url":"https://api.github.com/users/DavidLFielding/following{/other_user}","gists_url":"https://api.github.com/users/DavidLFielding/gists{/gist_id}","starred_url":"https://api.github.com/users/DavidLFielding/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DavidLFielding/subscriptions","organizations_url":"https://api.github.com/users/DavidLFielding/orgs","repos_url":"https://api.github.com/users/DavidLFielding/repos","events_url":"https://api.github.com/users/DavidLFielding/events{/privacy}","received_events_url":"https://api.github.com/users/DavidLFielding/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/cul-it/arxiv-zero/pulls/19/commits","review_comments_url":"https://api.github.com/repos/cul-it/arxiv-zero/pulls/19/comments","review_comment_url":"https://api.github.com/repos/cul-it/arxiv-zero/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cul-it/arxiv-zero/issues/19/comments","statuses_url":"https://api.github.com/repos/cul-it/arxiv-zero/statuses/43cd8fe681ab99f57750a2097ff01de9e1165331","head":{"label":"cul-it:develop","ref":"develop","sha":"43cd8fe681ab99f57750a2097ff01de9e1165331","user":{"login":"cul-it","id":7604148,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc2MDQxNDg=","avatar_url":"https://avatars2.githubusercontent.com/u/7604148?v=4","gravatar_id":"","url":"https://api.github.com/users/cul-it","html_url":"https://github.com/cul-it","followers_url":"https://api.github.com/users/cul-it/followers","following_url":"https://api.github.com/users/cul-it/following{/other_user}","gists_url":"https://api.github.com/users/cul-it/gists{/gist_id}","starred_url":"https://api.github.com/users/cul-it/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cul-it/subscriptions","organizations_url":"https://api.github.com/users/cul-it/orgs","repos_url":"https://api.github.com/users/cul-it/repos","events_url":"https://api.github.com/users/cul-it/events{/privacy}","received_events_url":"https://api.github.com/users/cul-it/received_events","type":"Organization","site_admin":false},"repo":{"id":112620545,"node_id":"MDEwOlJlcG9zaXRvcnkxMTI2MjA1NDU=","name":"arxiv-zero","full_name":"cul-it/arxiv-zero","owner":{"login":"cul-it","id":7604148,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc2MDQxNDg=","avatar_url":"https://avatars2.githubusercontent.com/u/7604148?v=4","gravatar_id":"","url":"https://api.github.com/users/cul-it","html_url":"https://github.com/cul-it","followers_url":"https://api.github.com/users/cul-it/followers","following_url":"https://api.github.com/users/cul-it/following{/other_user}","gists_url":"https://api.github.com/users/cul-it/gists{/gist_id}","starred_url":"https://api.github.com/users/cul-it/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cul-it/subscriptions","organizations_url":"https://api.github.com/users/cul-it/orgs","repos_url":"https://api.github.com/users/cul-it/repos","events_url":"https://api.github.com/users/cul-it/events{/privacy}","received_events_url":"https://api.github.com/users/cul-it/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cul-it/arxiv-zero","description":"Example Flask project","fork":false,"url":"https://api.github.com/repos/cul-it/arxiv-zero","forks_url":"https://api.github.com/repos/cul-it/arxiv-zero/forks","keys_url":"https://api.github.com/repos/cul-it/arxiv-zero/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cul-it/arxiv-zero/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cul-it/arxiv-zero/teams","hooks_url":"https://api.github.com/repos/cul-it/arxiv-zero/hooks","issue_events_url":"https://api.github.com/repos/cul-it/arxiv-zero/issues/events{/number}","events_url":"https://api.github.com/repos/cul-it/arxiv-zero/events","assignees_url":"https://api.github.com/repos/cul-it/arxiv-zero/assignees{/user}","branches_url":"https://api.github.com/repos/cul-it/arxiv-zero/branches{/branch}","tags_url":"https://api.github.com/repos/cul-it/arxiv-zero/tags","blobs_url":"https://api.github.com/repos/cul-it/arxiv-zero/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cul-it/arxiv-zero/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cul-it/arxiv-zero/git/refs{/sha}","trees_url":"https://api.github.com/repos/cul-it/arxiv-zero/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cul-it/arxiv-zero/statuses/{sha}","languages_url":"https://api.github.com/repos/cul-it/arxiv-zero/languages","stargazers_url":"https://api.github.com/repos/cul-it/arxiv-zero/stargazers","contributors_url":"https://api.github.com/repos/cul-it/arxiv-zero/contributors","subscribers_url":"https://api.github.com/repos/cul-it/arxiv-zero/subscribers","subscription_url":"https://api.github.com/repos/cul-it/arxiv-zero/subscription","commits_url":"https://api.github.com/repos/cul-it/arxiv-zero/commits{/sha}","git_commits_url":"https://api.github.com/repos/cul-it/arxiv-zero/git/commits{/sha}","comments_url":"https://api.github.com/repos/cul-it/arxiv-zero/comments{/number}","issue_comment_url":"https://api.github.com/repos/cul-it/arxiv-zero/issues/comments{/number}","contents_url":"https://api.github.com/repos/cul-it/arxiv-zero/contents/{+path}","compare_url":"https://api.github.com/repos/cul-it/arxiv-zero/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cul-it/arxiv-zero/merges","archive_url":"https://api.github.com/repos/cul-it/arxiv-zero/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cul-it/arxiv-zero/downloads","issues_url":"https://api.github.com/repos/cul-it/arxiv-zero/issues{/number}","pulls_url":"https://api.github.com/repos/cul-it/arxiv-zero/pulls{/number}","milestones_url":"https://api.github.com/repos/cul-it/arxiv-zero/milestones{/number}","notifications_url":"https://api.github.com/repos/cul-it/arxiv-zero/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cul-it/arxiv-zero/labels{/name}","releases_url":"https://api.github.com/repos/cul-it/arxiv-zero/releases{/id}","deployments_url":"https://api.github.com/repos/cul-it/arxiv-zero/deployments","created_at":"2017-11-30T14:23:55Z","updated_at":"2018-01-05T17:30:38Z","pushed_at":"2018-07-06T15:04:32Z","git_url":"git://github.com/cul-it/arxiv-zero.git","ssh_url":"git@github.com:cul-it/arxiv-zero.git","clone_url":"https://github.com/cul-it/arxiv-zero.git","svn_url":"https://github.com/cul-it/arxiv-zero","homepage":null,"size":144,"stargazers_count":4,"watchers_count":4,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":1,"watchers":4,"default_branch":"master"}},"base":{"label":"cul-it:master","ref":"master","sha":"c9239d34ce7ab854e5b557edc4c6564c740b383f","user":{"login":"cul-it","id":7604148,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc2MDQxNDg=","avatar_url":"https://avatars2.githubusercontent.com/u/7604148?v=4","gravatar_id":"","url":"https://api.github.com/users/cul-it","html_url":"https://github.com/cul-it","followers_url":"https://api.github.com/users/cul-it/followers","following_url":"https://api.github.com/users/cul-it/following{/other_user}","gists_url":"https://api.github.com/users/cul-it/gists{/gist_id}","starred_url":"https://api.github.com/users/cul-it/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cul-it/subscriptions","organizations_url":"https://api.github.com/users/cul-it/orgs","repos_url":"https://api.github.com/users/cul-it/repos","events_url":"https://api.github.com/users/cul-it/events{/privacy}","received_events_url":"https://api.github.com/users/cul-it/received_events","type":"Organization","site_admin":false},"repo":{"id":112620545,"node_id":"MDEwOlJlcG9zaXRvcnkxMTI2MjA1NDU=","name":"arxiv-zero","full_name":"cul-it/arxiv-zero","owner":{"login":"cul-it","id":7604148,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc2MDQxNDg=","avatar_url":"https://avatars2.githubusercontent.com/u/7604148?v=4","gravatar_id":"","url":"https://api.github.com/users/cul-it","html_url":"https://github.com/cul-it","followers_url":"https://api.github.com/users/cul-it/followers","following_url":"https://api.github.com/users/cul-it/following{/other_user}","gists_url":"https://api.github.com/users/cul-it/gists{/gist_id}","starred_url":"https://api.github.com/users/cul-it/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cul-it/subscriptions","organizations_url":"https://api.github.com/users/cul-it/orgs","repos_url":"https://api.github.com/users/cul-it/repos","events_url":"https://api.github.com/users/cul-it/events{/privacy}","received_events_url":"https://api.github.com/users/cul-it/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cul-it/arxiv-zero","description":"Example Flask project","fork":false,"url":"https://api.github.com/repos/cul-it/arxiv-zero","forks_url":"https://api.github.com/repos/cul-it/arxiv-zero/forks","keys_url":"https://api.github.com/repos/cul-it/arxiv-zero/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cul-it/arxiv-zero/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cul-it/arxiv-zero/teams","hooks_url":"https://api.github.com/repos/cul-it/arxiv-zero/hooks","issue_events_url":"https://api.github.com/repos/cul-it/arxiv-zero/issues/events{/number}","events_url":"https://api.github.com/repos/cul-it/arxiv-zero/events","assignees_url":"https://api.github.com/repos/cul-it/arxiv-zero/assignees{/user}","branches_url":"https://api.github.com/repos/cul-it/arxiv-zero/branches{/branch}","tags_url":"https://api.github.com/repos/cul-it/arxiv-zero/tags","blobs_url":"https://api.github.com/repos/cul-it/arxiv-zero/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cul-it/arxiv-zero/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cul-it/arxiv-zero/git/refs{/sha}","trees_url":"https://api.github.com/repos/cul-it/arxiv-zero/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cul-it/arxiv-zero/statuses/{sha}","languages_url":"https://api.github.com/repos/cul-it/arxiv-zero/languages","stargazers_url":"https://api.github.com/repos/cul-it/arxiv-zero/stargazers","contributors_url":"https://api.github.com/repos/cul-it/arxiv-zero/contributors","subscribers_url":"https://api.github.com/repos/cul-it/arxiv-zero/subscribers","subscription_url":"https://api.github.com/repos/cul-it/arxiv-zero/subscription","commits_url":"https://api.github.com/repos/cul-it/arxiv-zero/commits{/sha}","git_commits_url":"https://api.github.com/repos/cul-it/arxiv-zero/git/commits{/sha}","comments_url":"https://api.github.com/repos/cul-it/arxiv-zero/comments{/number}","issue_comment_url":"https://api.github.com/repos/cul-it/arxiv-zero/issues/comments{/number}","contents_url":"https://api.github.com/repos/cul-it/arxiv-zero/contents/{+path}","compare_url":"https://api.github.com/repos/cul-it/arxiv-zero/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cul-it/arxiv-zero/merges","archive_url":"https://api.github.com/repos/cul-it/arxiv-zero/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cul-it/arxiv-zero/downloads","issues_url":"https://api.github.com/repos/cul-it/arxiv-zero/issues{/number}","pulls_url":"https://api.github.com/repos/cul-it/arxiv-zero/pulls{/number}","milestones_url":"https://api.github.com/repos/cul-it/arxiv-zero/milestones{/number}","notifications_url":"https://api.github.com/repos/cul-it/arxiv-zero/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cul-it/arxiv-zero/labels{/name}","releases_url":"https://api.github.com/repos/cul-it/arxiv-zero/releases{/id}","deployments_url":"https://api.github.com/repos/cul-it/arxiv-zero/deployments","created_at":"2017-11-30T14:23:55Z","updated_at":"2018-01-05T17:30:38Z","pushed_at":"2018-07-06T15:04:32Z","git_url":"git://github.com/cul-it/arxiv-zero.git","ssh_url":"git@github.com:cul-it/arxiv-zero.git","clone_url":"https://github.com/cul-it/arxiv-zero.git","svn_url":"https://github.com/cul-it/arxiv-zero","homepage":null,"size":144,"stargazers_count":4,"watchers_count":4,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":1,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cul-it/arxiv-zero/pulls/19"},"html":{"href":"https://github.com/cul-it/arxiv-zero/pull/19"},"issue":{"href":"https://api.github.com/repos/cul-it/arxiv-zero/issues/19"},"comments":{"href":"https://api.github.com/repos/cul-it/arxiv-zero/issues/19/comments"},"review_comments":{"href":"https://api.github.com/repos/cul-it/arxiv-zero/pulls/19/comments"},"review_comment":{"href":"https://api.github.com/repos/cul-it/arxiv-zero/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cul-it/arxiv-zero/pulls/19/commits"},"statuses":{"href":"https://api.github.com/repos/cul-it/arxiv-zero/statuses/43cd8fe681ab99f57750a2097ff01de9e1165331"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"erickpeirson"}}