{"action":"opened","number":22,"pull_request":{"url":"https://api.github.com/repos/mapbox/osm-comments-frontend/pulls/22","id":54234712,"html_url":"https://github.com/mapbox/osm-comments-frontend/pull/22","diff_url":"https://github.com/mapbox/osm-comments-frontend/pull/22.diff","patch_url":"https://github.com/mapbox/osm-comments-frontend/pull/22.patch","issue_url":"https://api.github.com/repos/mapbox/osm-comments-frontend/issues/22","number":22,"state":"open","locked":false,"title":"Handle api errors","user":{"login":"batpad","id":72280,"avatar_url":"https://avatars.githubusercontent.com/u/72280?v=3","gravatar_id":"","url":"https://api.github.com/users/batpad","html_url":"https://github.com/batpad","followers_url":"https://api.github.com/users/batpad/followers","following_url":"https://api.github.com/users/batpad/following{/other_user}","gists_url":"https://api.github.com/users/batpad/gists{/gist_id}","starred_url":"https://api.github.com/users/batpad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/batpad/subscriptions","organizations_url":"https://api.github.com/users/batpad/orgs","repos_url":"https://api.github.com/users/batpad/repos","events_url":"https://api.github.com/users/batpad/events{/privacy}","received_events_url":"https://api.github.com/users/batpad/received_events","type":"User","site_admin":false},"body":"Fixes #21 ","created_at":"2015-12-21T09:17:16Z","updated_at":"2015-12-21T09:17:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mapbox/osm-comments-frontend/pulls/22/commits","review_comments_url":"https://api.github.com/repos/mapbox/osm-comments-frontend/pulls/22/comments","review_comment_url":"https://api.github.com/repos/mapbox/osm-comments-frontend/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mapbox/osm-comments-frontend/issues/22/comments","statuses_url":"https://api.github.com/repos/mapbox/osm-comments-frontend/statuses/e5ef381e4df5b548a5b9cdc74aa17b132f57e285","head":{"label":"mapbox:handle-api-errors","ref":"handle-api-errors","sha":"e5ef381e4df5b548a5b9cdc74aa17b132f57e285","user":{"login":"mapbox","id":600935,"avatar_url":"https://avatars.githubusercontent.com/u/600935?v=3","gravatar_id":"","url":"https://api.github.com/users/mapbox","html_url":"https://github.com/mapbox","followers_url":"https://api.github.com/users/mapbox/followers","following_url":"https://api.github.com/users/mapbox/following{/other_user}","gists_url":"https://api.github.com/users/mapbox/gists{/gist_id}","starred_url":"https://api.github.com/users/mapbox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mapbox/subscriptions","organizations_url":"https://api.github.com/users/mapbox/orgs","repos_url":"https://api.github.com/users/mapbox/repos","events_url":"https://api.github.com/users/mapbox/events{/privacy}","received_events_url":"https://api.github.com/users/mapbox/received_events","type":"Organization","site_admin":false},"repo":{"id":45892594,"name":"osm-comments-frontend","full_name":"mapbox/osm-comments-frontend","owner":{"login":"mapbox","id":600935,"avatar_url":"https://avatars.githubusercontent.com/u/600935?v=3","gravatar_id":"","url":"https://api.github.com/users/mapbox","html_url":"https://github.com/mapbox","followers_url":"https://api.github.com/users/mapbox/followers","following_url":"https://api.github.com/users/mapbox/following{/other_user}","gists_url":"https://api.github.com/users/mapbox/gists{/gist_id}","starred_url":"https://api.github.com/users/mapbox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mapbox/subscriptions","organizations_url":"https://api.github.com/users/mapbox/orgs","repos_url":"https://api.github.com/users/mapbox/repos","events_url":"https://api.github.com/users/mapbox/events{/privacy}","received_events_url":"https://api.github.com/users/mapbox/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mapbox/osm-comments-frontend","description":"Frontend application to query osm-comments-api","fork":false,"url":"https://api.github.com/repos/mapbox/osm-comments-frontend","forks_url":"https://api.github.com/repos/mapbox/osm-comments-frontend/forks","keys_url":"https://api.github.com/repos/mapbox/osm-comments-frontend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mapbox/osm-comments-frontend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mapbox/osm-comments-frontend/teams","hooks_url":"https://api.github.com/repos/mapbox/osm-comments-frontend/hooks","issue_events_url":"https://api.github.com/repos/mapbox/osm-comments-frontend/issues/events{/number}","events_url":"https://api.github.com/repos/mapbox/osm-comments-frontend/events","assignees_url":"https://api.github.com/repos/mapbox/osm-comments-frontend/assignees{/user}","branches_url":"https://api.github.com/repos/mapbox/osm-comments-frontend/branches{/branch}","tags_url":"https://api.github.com/repos/mapbox/osm-comments-frontend/tags","blobs_url":"https://api.github.com/repos/mapbox/osm-comments-frontend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mapbox/osm-comments-frontend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mapbox/osm-comments-frontend/git/refs{/sha}","trees_url":"https://api.github.com/repos/mapbox/osm-comments-frontend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mapbox/osm-comments-frontend/statuses/{sha}","languages_url":"https://api.github.com/repos/mapbox/osm-comments-frontend/languages","stargazers_url":"https://api.github.com/repos/mapbox/osm-comments-frontend/stargazers","contributors_url":"https://api.github.com/repos/mapbox/osm-comments-frontend/contributors","subscribers_url":"https://api.github.com/repos/mapbox/osm-comments-frontend/subscribers","subscription_url":"https://api.github.com/repos/mapbox/osm-comments-frontend/subscription","commits_url":"https://api.github.com/repos/mapbox/osm-comments-frontend/commits{/sha}","git_commits_url":"https://api.github.com/repos/mapbox/osm-comments-frontend/git/commits{/sha}","comments_url":"https://api.github.com/repos/mapbox/osm-comments-frontend/comments{/number}","issue_comment_url":"https://api.github.com/repos/mapbox/osm-comments-frontend/issues/comments{/number}","contents_url":"https://api.github.com/repos/mapbox/osm-comments-frontend/contents/{+path}","compare_url":"https://api.github.com/repos/mapbox/osm-comments-frontend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mapbox/osm-comments-frontend/merges","archive_url":"https://api.github.com/repos/mapbox/osm-comments-frontend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mapbox/osm-comments-frontend/downloads","issues_url":"https://api.github.com/repos/mapbox/osm-comments-frontend/issues{/number}","pulls_url":"https://api.github.com/repos/mapbox/osm-comments-frontend/pulls{/number}","milestones_url":"https://api.github.com/repos/mapbox/osm-comments-frontend/milestones{/number}","notifications_url":"https://api.github.com/repos/mapbox/osm-comments-frontend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mapbox/osm-comments-frontend/labels{/name}","releases_url":"https://api.github.com/repos/mapbox/osm-comments-frontend/releases{/id}","created_at":"2015-11-10T06:34:11Z","updated_at":"2015-11-24T11:07:14Z","pushed_at":"2015-12-21T09:16:59Z","git_url":"git://github.com/mapbox/osm-comments-frontend.git","ssh_url":"git@github.com:mapbox/osm-comments-frontend.git","clone_url":"https://github.com/mapbox/osm-comments-frontend.git","svn_url":"https://github.com/mapbox/osm-comments-frontend","homepage":null,"size":591,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":7,"forks":0,"open_issues":7,"watchers":0,"default_branch":"master"}},"base":{"label":"mapbox:master","ref":"master","sha":"8914a95272c8d7f4e38e51c807b4180b5ea18863","user":{"login":"mapbox","id":600935,"avatar_url":"https://avatars.githubusercontent.com/u/600935?v=3","gravatar_id":"","url":"https://api.github.com/users/mapbox","html_url":"https://github.com/mapbox","followers_url":"https://api.github.com/users/mapbox/followers","following_url":"https://api.github.com/users/mapbox/following{/other_user}","gists_url":"https://api.github.com/users/mapbox/gists{/gist_id}","starred_url":"https://api.github.com/users/mapbox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mapbox/subscriptions","organizations_url":"https://api.github.com/users/mapbox/orgs","repos_url":"https://api.github.com/users/mapbox/repos","events_url":"https://api.github.com/users/mapbox/events{/privacy}","received_events_url":"https://api.github.com/users/mapbox/received_events","type":"Organization","site_admin":false},"repo":{"id":45892594,"name":"osm-comments-frontend","full_name":"mapbox/osm-comments-frontend","owner":{"login":"mapbox","id":600935,"avatar_url":"https://avatars.githubusercontent.com/u/600935?v=3","gravatar_id":"","url":"https://api.github.com/users/mapbox","html_url":"https://github.com/mapbox","followers_url":"https://api.github.com/users/mapbox/followers","following_url":"https://api.github.com/users/mapbox/following{/other_user}","gists_url":"https://api.github.com/users/mapbox/gists{/gist_id}","starred_url":"https://api.github.com/users/mapbox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mapbox/subscriptions","organizations_url":"https://api.github.com/users/mapbox/orgs","repos_url":"https://api.github.com/users/mapbox/repos","events_url":"https://api.github.com/users/mapbox/events{/privacy}","received_events_url":"https://api.github.com/users/mapbox/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mapbox/osm-comments-frontend","description":"Frontend application to query osm-comments-api","fork":false,"url":"https://api.github.com/repos/mapbox/osm-comments-frontend","forks_url":"https://api.github.com/repos/mapbox/osm-comments-frontend/forks","keys_url":"https://api.github.com/repos/mapbox/osm-comments-frontend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mapbox/osm-comments-frontend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mapbox/osm-comments-frontend/teams","hooks_url":"https://api.github.com/repos/mapbox/osm-comments-frontend/hooks","issue_events_url":"https://api.github.com/repos/mapbox/osm-comments-frontend/issues/events{/number}","events_url":"https://api.github.com/repos/mapbox/osm-comments-frontend/events","assignees_url":"https://api.github.com/repos/mapbox/osm-comments-frontend/assignees{/user}","branches_url":"https://api.github.com/repos/mapbox/osm-comments-frontend/branches{/branch}","tags_url":"https://api.github.com/repos/mapbox/osm-comments-frontend/tags","blobs_url":"https://api.github.com/repos/mapbox/osm-comments-frontend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mapbox/osm-comments-frontend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mapbox/osm-comments-frontend/git/refs{/sha}","trees_url":"https://api.github.com/repos/mapbox/osm-comments-frontend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mapbox/osm-comments-frontend/statuses/{sha}","languages_url":"https://api.github.com/repos/mapbox/osm-comments-frontend/languages","stargazers_url":"https://api.github.com/repos/mapbox/osm-comments-frontend/stargazers","contributors_url":"https://api.github.com/repos/mapbox/osm-comments-frontend/contributors","subscribers_url":"https://api.github.com/repos/mapbox/osm-comments-frontend/subscribers","subscription_url":"https://api.github.com/repos/mapbox/osm-comments-frontend/subscription","commits_url":"https://api.github.com/repos/mapbox/osm-comments-frontend/commits{/sha}","git_commits_url":"https://api.github.com/repos/mapbox/osm-comments-frontend/git/commits{/sha}","comments_url":"https://api.github.com/repos/mapbox/osm-comments-frontend/comments{/number}","issue_comment_url":"https://api.github.com/repos/mapbox/osm-comments-frontend/issues/comments{/number}","contents_url":"https://api.github.com/repos/mapbox/osm-comments-frontend/contents/{+path}","compare_url":"https://api.github.com/repos/mapbox/osm-comments-frontend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mapbox/osm-comments-frontend/merges","archive_url":"https://api.github.com/repos/mapbox/osm-comments-frontend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mapbox/osm-comments-frontend/downloads","issues_url":"https://api.github.com/repos/mapbox/osm-comments-frontend/issues{/number}","pulls_url":"https://api.github.com/repos/mapbox/osm-comments-frontend/pulls{/number}","milestones_url":"https://api.github.com/repos/mapbox/osm-comments-frontend/milestones{/number}","notifications_url":"https://api.github.com/repos/mapbox/osm-comments-frontend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mapbox/osm-comments-frontend/labels{/name}","releases_url":"https://api.github.com/repos/mapbox/osm-comments-frontend/releases{/id}","created_at":"2015-11-10T06:34:11Z","updated_at":"2015-11-24T11:07:14Z","pushed_at":"2015-12-21T09:16:59Z","git_url":"git://github.com/mapbox/osm-comments-frontend.git","ssh_url":"git@github.com:mapbox/osm-comments-frontend.git","clone_url":"https://github.com/mapbox/osm-comments-frontend.git","svn_url":"https://github.com/mapbox/osm-comments-frontend","homepage":null,"size":591,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":7,"forks":0,"open_issues":7,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mapbox/osm-comments-frontend/pulls/22"},"html":{"href":"https://github.com/mapbox/osm-comments-frontend/pull/22"},"issue":{"href":"https://api.github.com/repos/mapbox/osm-comments-frontend/issues/22"},"comments":{"href":"https://api.github.com/repos/mapbox/osm-comments-frontend/issues/22/comments"},"review_comments":{"href":"https://api.github.com/repos/mapbox/osm-comments-frontend/pulls/22/comments"},"review_comment":{"href":"https://api.github.com/repos/mapbox/osm-comments-frontend/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mapbox/osm-comments-frontend/pulls/22/commits"},"statuses":{"href":"https://api.github.com/repos/mapbox/osm-comments-frontend/statuses/e5ef381e4df5b548a5b9cdc74aa17b132f57e285"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":30,"deletions":4,"changed_files":3}}