{"action":"closed","number":1024,"pull_request":{"url":"https://api.github.com/repos/gocd/gocd/pulls/1024","id":33199337,"html_url":"https://github.com/gocd/gocd/pull/1024","diff_url":"https://github.com/gocd/gocd/pull/1024.diff","patch_url":"https://github.com/gocd/gocd/pull/1024.patch","issue_url":"https://api.github.com/repos/gocd/gocd/issues/1024","number":1024,"state":"closed","locked":false,"title":"#1008 - Show nice error page.","user":{"login":"arvindsv","id":172235,"avatar_url":"https://avatars.githubusercontent.com/u/172235?v=3","gravatar_id":"","url":"https://api.github.com/users/arvindsv","html_url":"https://github.com/arvindsv","followers_url":"https://api.github.com/users/arvindsv/followers","following_url":"https://api.github.com/users/arvindsv/following{/other_user}","gists_url":"https://api.github.com/users/arvindsv/gists{/gist_id}","starred_url":"https://api.github.com/users/arvindsv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arvindsv/subscriptions","organizations_url":"https://api.github.com/users/arvindsv/orgs","repos_url":"https://api.github.com/users/arvindsv/repos","events_url":"https://api.github.com/users/arvindsv/events{/privacy}","received_events_url":"https://api.github.com/users/arvindsv/received_events","type":"User","site_admin":false},"body":"When an invalid operation is performed (POST request in passive state), show a decent error page.\r\n\r\nBased on discussion in #1008.","created_at":"2015-04-13T20:19:51Z","updated_at":"2015-04-15T06:30:01Z","closed_at":"2015-04-15T06:30:01Z","merged_at":"2015-04-15T06:30:01Z","merge_commit_sha":"a861b18dbbb6222914ee35db1e05ec35c391728c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/gocd/gocd/pulls/1024/commits","review_comments_url":"https://api.github.com/repos/gocd/gocd/pulls/1024/comments","review_comment_url":"https://api.github.com/repos/gocd/gocd/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gocd/gocd/issues/1024/comments","statuses_url":"https://api.github.com/repos/gocd/gocd/statuses/670cd5d774f5e24a353f38f88542a98b3bd22575","head":{"label":"arvindsv:1008_better_error_page","ref":"1008_better_error_page","sha":"670cd5d774f5e24a353f38f88542a98b3bd22575","user":{"login":"arvindsv","id":172235,"avatar_url":"https://avatars.githubusercontent.com/u/172235?v=3","gravatar_id":"","url":"https://api.github.com/users/arvindsv","html_url":"https://github.com/arvindsv","followers_url":"https://api.github.com/users/arvindsv/followers","following_url":"https://api.github.com/users/arvindsv/following{/other_user}","gists_url":"https://api.github.com/users/arvindsv/gists{/gist_id}","starred_url":"https://api.github.com/users/arvindsv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arvindsv/subscriptions","organizations_url":"https://api.github.com/users/arvindsv/orgs","repos_url":"https://api.github.com/users/arvindsv/repos","events_url":"https://api.github.com/users/arvindsv/events{/privacy}","received_events_url":"https://api.github.com/users/arvindsv/received_events","type":"User","site_admin":false},"repo":{"id":19228032,"name":"gocd","full_name":"arvindsv/gocd","owner":{"login":"arvindsv","id":172235,"avatar_url":"https://avatars.githubusercontent.com/u/172235?v=3","gravatar_id":"","url":"https://api.github.com/users/arvindsv","html_url":"https://github.com/arvindsv","followers_url":"https://api.github.com/users/arvindsv/followers","following_url":"https://api.github.com/users/arvindsv/following{/other_user}","gists_url":"https://api.github.com/users/arvindsv/gists{/gist_id}","starred_url":"https://api.github.com/users/arvindsv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arvindsv/subscriptions","organizations_url":"https://api.github.com/users/arvindsv/orgs","repos_url":"https://api.github.com/users/arvindsv/repos","events_url":"https://api.github.com/users/arvindsv/events{/privacy}","received_events_url":"https://api.github.com/users/arvindsv/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/arvindsv/gocd","description":"Main repository for Go Continuous Delivery","fork":true,"url":"https://api.github.com/repos/arvindsv/gocd","forks_url":"https://api.github.com/repos/arvindsv/gocd/forks","keys_url":"https://api.github.com/repos/arvindsv/gocd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/arvindsv/gocd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/arvindsv/gocd/teams","hooks_url":"https://api.github.com/repos/arvindsv/gocd/hooks","issue_events_url":"https://api.github.com/repos/arvindsv/gocd/issues/events{/number}","events_url":"https://api.github.com/repos/arvindsv/gocd/events","assignees_url":"https://api.github.com/repos/arvindsv/gocd/assignees{/user}","branches_url":"https://api.github.com/repos/arvindsv/gocd/branches{/branch}","tags_url":"https://api.github.com/repos/arvindsv/gocd/tags","blobs_url":"https://api.github.com/repos/arvindsv/gocd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/arvindsv/gocd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/arvindsv/gocd/git/refs{/sha}","trees_url":"https://api.github.com/repos/arvindsv/gocd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/arvindsv/gocd/statuses/{sha}","languages_url":"https://api.github.com/repos/arvindsv/gocd/languages","stargazers_url":"https://api.github.com/repos/arvindsv/gocd/stargazers","contributors_url":"https://api.github.com/repos/arvindsv/gocd/contributors","subscribers_url":"https://api.github.com/repos/arvindsv/gocd/subscribers","subscription_url":"https://api.github.com/repos/arvindsv/gocd/subscription","commits_url":"https://api.github.com/repos/arvindsv/gocd/commits{/sha}","git_commits_url":"https://api.github.com/repos/arvindsv/gocd/git/commits{/sha}","comments_url":"https://api.github.com/repos/arvindsv/gocd/comments{/number}","issue_comment_url":"https://api.github.com/repos/arvindsv/gocd/issues/comments{/number}","contents_url":"https://api.github.com/repos/arvindsv/gocd/contents/{+path}","compare_url":"https://api.github.com/repos/arvindsv/gocd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/arvindsv/gocd/merges","archive_url":"https://api.github.com/repos/arvindsv/gocd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/arvindsv/gocd/downloads","issues_url":"https://api.github.com/repos/arvindsv/gocd/issues{/number}","pulls_url":"https://api.github.com/repos/arvindsv/gocd/pulls{/number}","milestones_url":"https://api.github.com/repos/arvindsv/gocd/milestones{/number}","notifications_url":"https://api.github.com/repos/arvindsv/gocd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/arvindsv/gocd/labels{/name}","releases_url":"https://api.github.com/repos/arvindsv/gocd/releases{/id}","created_at":"2014-04-28T05:27:12Z","updated_at":"2015-03-23T18:15:15Z","pushed_at":"2015-04-13T20:24:38Z","git_url":"git://github.com/arvindsv/gocd.git","ssh_url":"git@github.com:arvindsv/gocd.git","clone_url":"https://github.com/arvindsv/gocd.git","svn_url":"https://github.com/arvindsv/gocd","homepage":null,"size":200390,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"gocd:master","ref":"master","sha":"95ca2ea9e443a6e80dd85baf2a2a58b5760fe8d2","user":{"login":"gocd","id":6099846,"avatar_url":"https://avatars.githubusercontent.com/u/6099846?v=3","gravatar_id":"","url":"https://api.github.com/users/gocd","html_url":"https://github.com/gocd","followers_url":"https://api.github.com/users/gocd/followers","following_url":"https://api.github.com/users/gocd/following{/other_user}","gists_url":"https://api.github.com/users/gocd/gists{/gist_id}","starred_url":"https://api.github.com/users/gocd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gocd/subscriptions","organizations_url":"https://api.github.com/users/gocd/orgs","repos_url":"https://api.github.com/users/gocd/repos","events_url":"https://api.github.com/users/gocd/events{/privacy}","received_events_url":"https://api.github.com/users/gocd/received_events","type":"Organization","site_admin":false},"repo":{"id":15155534,"name":"gocd","full_name":"gocd/gocd","owner":{"login":"gocd","id":6099846,"avatar_url":"https://avatars.githubusercontent.com/u/6099846?v=3","gravatar_id":"","url":"https://api.github.com/users/gocd","html_url":"https://github.com/gocd","followers_url":"https://api.github.com/users/gocd/followers","following_url":"https://api.github.com/users/gocd/following{/other_user}","gists_url":"https://api.github.com/users/gocd/gists{/gist_id}","starred_url":"https://api.github.com/users/gocd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gocd/subscriptions","organizations_url":"https://api.github.com/users/gocd/orgs","repos_url":"https://api.github.com/users/gocd/repos","events_url":"https://api.github.com/users/gocd/events{/privacy}","received_events_url":"https://api.github.com/users/gocd/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/gocd/gocd","description":"Main repository for Go Continuous Delivery","fork":false,"url":"https://api.github.com/repos/gocd/gocd","forks_url":"https://api.github.com/repos/gocd/gocd/forks","keys_url":"https://api.github.com/repos/gocd/gocd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gocd/gocd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gocd/gocd/teams","hooks_url":"https://api.github.com/repos/gocd/gocd/hooks","issue_events_url":"https://api.github.com/repos/gocd/gocd/issues/events{/number}","events_url":"https://api.github.com/repos/gocd/gocd/events","assignees_url":"https://api.github.com/repos/gocd/gocd/assignees{/user}","branches_url":"https://api.github.com/repos/gocd/gocd/branches{/branch}","tags_url":"https://api.github.com/repos/gocd/gocd/tags","blobs_url":"https://api.github.com/repos/gocd/gocd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gocd/gocd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gocd/gocd/git/refs{/sha}","trees_url":"https://api.github.com/repos/gocd/gocd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gocd/gocd/statuses/{sha}","languages_url":"https://api.github.com/repos/gocd/gocd/languages","stargazers_url":"https://api.github.com/repos/gocd/gocd/stargazers","contributors_url":"https://api.github.com/repos/gocd/gocd/contributors","subscribers_url":"https://api.github.com/repos/gocd/gocd/subscribers","subscription_url":"https://api.github.com/repos/gocd/gocd/subscription","commits_url":"https://api.github.com/repos/gocd/gocd/commits{/sha}","git_commits_url":"https://api.github.com/repos/gocd/gocd/git/commits{/sha}","comments_url":"https://api.github.com/repos/gocd/gocd/comments{/number}","issue_comment_url":"https://api.github.com/repos/gocd/gocd/issues/comments{/number}","contents_url":"https://api.github.com/repos/gocd/gocd/contents/{+path}","compare_url":"https://api.github.com/repos/gocd/gocd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gocd/gocd/merges","archive_url":"https://api.github.com/repos/gocd/gocd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gocd/gocd/downloads","issues_url":"https://api.github.com/repos/gocd/gocd/issues{/number}","pulls_url":"https://api.github.com/repos/gocd/gocd/pulls{/number}","milestones_url":"https://api.github.com/repos/gocd/gocd/milestones{/number}","notifications_url":"https://api.github.com/repos/gocd/gocd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gocd/gocd/labels{/name}","releases_url":"https://api.github.com/repos/gocd/gocd/releases{/id}","created_at":"2013-12-13T05:26:16Z","updated_at":"2015-04-15T06:28:44Z","pushed_at":"2015-04-15T06:30:01Z","git_url":"git://github.com/gocd/gocd.git","ssh_url":"git@github.com:gocd/gocd.git","clone_url":"https://github.com/gocd/gocd.git","svn_url":"https://github.com/gocd/gocd","homepage":null,"size":243396,"stargazers_count":1412,"watchers_count":1412,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":238,"mirror_url":null,"open_issues_count":393,"forks":238,"open_issues":393,"watchers":1412,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gocd/gocd/pulls/1024"},"html":{"href":"https://github.com/gocd/gocd/pull/1024"},"issue":{"href":"https://api.github.com/repos/gocd/gocd/issues/1024"},"comments":{"href":"https://api.github.com/repos/gocd/gocd/issues/1024/comments"},"review_comments":{"href":"https://api.github.com/repos/gocd/gocd/pulls/1024/comments"},"review_comment":{"href":"https://api.github.com/repos/gocd/gocd/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gocd/gocd/pulls/1024/commits"},"statuses":{"href":"https://api.github.com/repos/gocd/gocd/statuses/670cd5d774f5e24a353f38f88542a98b3bd22575"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"pshivana","id":922467,"avatar_url":"https://avatars.githubusercontent.com/u/922467?v=3","gravatar_id":"","url":"https://api.github.com/users/pshivana","html_url":"https://github.com/pshivana","followers_url":"https://api.github.com/users/pshivana/followers","following_url":"https://api.github.com/users/pshivana/following{/other_user}","gists_url":"https://api.github.com/users/pshivana/gists{/gist_id}","starred_url":"https://api.github.com/users/pshivana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pshivana/subscriptions","organizations_url":"https://api.github.com/users/pshivana/orgs","repos_url":"https://api.github.com/users/pshivana/repos","events_url":"https://api.github.com/users/pshivana/events{/privacy}","received_events_url":"https://api.github.com/users/pshivana/received_events","type":"User","site_admin":false},"comments":0,"review_comments":5,"commits":2,"additions":69,"deletions":15,"changed_files":6}}