{"action":"closed","number":31,"pull_request":{"url":"https://api.github.com/repos/zfcampus/zf-api-problem/pulls/31","id":30483050,"html_url":"https://github.com/zfcampus/zf-api-problem/pull/31","diff_url":"https://github.com/zfcampus/zf-api-problem/pull/31.diff","patch_url":"https://github.com/zfcampus/zf-api-problem/pull/31.patch","issue_url":"https://api.github.com/repos/zfcampus/zf-api-problem/issues/31","number":31,"state":"closed","locked":false,"title":"Don't interpret exception codes as http statuscodes","user":{"login":"BreiteSeite","id":2171105,"avatar_url":"https://avatars.githubusercontent.com/u/2171105?v=3","gravatar_id":"","url":"https://api.github.com/users/BreiteSeite","html_url":"https://github.com/BreiteSeite","followers_url":"https://api.github.com/users/BreiteSeite/followers","following_url":"https://api.github.com/users/BreiteSeite/following{/other_user}","gists_url":"https://api.github.com/users/BreiteSeite/gists{/gist_id}","starred_url":"https://api.github.com/users/BreiteSeite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BreiteSeite/subscriptions","organizations_url":"https://api.github.com/users/BreiteSeite/orgs","repos_url":"https://api.github.com/users/BreiteSeite/repos","events_url":"https://api.github.com/users/BreiteSeite/events{/privacy}","received_events_url":"https://api.github.com/users/BreiteSeite/received_events","type":"User","site_admin":false},"body":"This PR should fix issue #27.\r\n\r\nProblemExceptionInterface got a new Method `getHttpStatusCode()` to give transport the http status in your exception. If Exceptions are converted into a ApiProblem-Response, which aren't implementing the ProblemExceptionInterface, we just use the HTTP status code 500.","created_at":"2015-03-04T16:57:19Z","updated_at":"2015-03-30T19:21:35Z","closed_at":"2015-03-30T19:21:35Z","merged_at":null,"merge_commit_sha":"0c8b8c787a113c39dc56c2bddd2614a0e288713a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/zfcampus/zf-api-problem/pulls/31/commits","review_comments_url":"https://api.github.com/repos/zfcampus/zf-api-problem/pulls/31/comments","review_comment_url":"https://api.github.com/repos/zfcampus/zf-api-problem/pulls/comments{/number}","comments_url":"https://api.github.com/repos/zfcampus/zf-api-problem/issues/31/comments","statuses_url":"https://api.github.com/repos/zfcampus/zf-api-problem/statuses/e393407bb775324255f5ff5a3719bd7c1373df04","head":{"label":"EvolverGroup:feature/provide-an-explicit-way-to-set-apiproblem-statuscode","ref":"feature/provide-an-explicit-way-to-set-apiproblem-statuscode","sha":"e393407bb775324255f5ff5a3719bd7c1373df04","user":{"login":"EvolverGroup","id":6850237,"avatar_url":"https://avatars.githubusercontent.com/u/6850237?v=3","gravatar_id":"","url":"https://api.github.com/users/EvolverGroup","html_url":"https://github.com/EvolverGroup","followers_url":"https://api.github.com/users/EvolverGroup/followers","following_url":"https://api.github.com/users/EvolverGroup/following{/other_user}","gists_url":"https://api.github.com/users/EvolverGroup/gists{/gist_id}","starred_url":"https://api.github.com/users/EvolverGroup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EvolverGroup/subscriptions","organizations_url":"https://api.github.com/users/EvolverGroup/orgs","repos_url":"https://api.github.com/users/EvolverGroup/repos","events_url":"https://api.github.com/users/EvolverGroup/events{/privacy}","received_events_url":"https://api.github.com/users/EvolverGroup/received_events","type":"Organization","site_admin":false},"repo":{"id":31607251,"name":"zf-api-problem","full_name":"EvolverGroup/zf-api-problem","owner":{"login":"EvolverGroup","id":6850237,"avatar_url":"https://avatars.githubusercontent.com/u/6850237?v=3","gravatar_id":"","url":"https://api.github.com/users/EvolverGroup","html_url":"https://github.com/EvolverGroup","followers_url":"https://api.github.com/users/EvolverGroup/followers","following_url":"https://api.github.com/users/EvolverGroup/following{/other_user}","gists_url":"https://api.github.com/users/EvolverGroup/gists{/gist_id}","starred_url":"https://api.github.com/users/EvolverGroup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EvolverGroup/subscriptions","organizations_url":"https://api.github.com/users/EvolverGroup/orgs","repos_url":"https://api.github.com/users/EvolverGroup/repos","events_url":"https://api.github.com/users/EvolverGroup/events{/privacy}","received_events_url":"https://api.github.com/users/EvolverGroup/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/EvolverGroup/zf-api-problem","description":null,"fork":true,"url":"https://api.github.com/repos/EvolverGroup/zf-api-problem","forks_url":"https://api.github.com/repos/EvolverGroup/zf-api-problem/forks","keys_url":"https://api.github.com/repos/EvolverGroup/zf-api-problem/keys{/key_id}","collaborators_url":"https://api.github.com/repos/EvolverGroup/zf-api-problem/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/EvolverGroup/zf-api-problem/teams","hooks_url":"https://api.github.com/repos/EvolverGroup/zf-api-problem/hooks","issue_events_url":"https://api.github.com/repos/EvolverGroup/zf-api-problem/issues/events{/number}","events_url":"https://api.github.com/repos/EvolverGroup/zf-api-problem/events","assignees_url":"https://api.github.com/repos/EvolverGroup/zf-api-problem/assignees{/user}","branches_url":"https://api.github.com/repos/EvolverGroup/zf-api-problem/branches{/branch}","tags_url":"https://api.github.com/repos/EvolverGroup/zf-api-problem/tags","blobs_url":"https://api.github.com/repos/EvolverGroup/zf-api-problem/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/EvolverGroup/zf-api-problem/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/EvolverGroup/zf-api-problem/git/refs{/sha}","trees_url":"https://api.github.com/repos/EvolverGroup/zf-api-problem/git/trees{/sha}","statuses_url":"https://api.github.com/repos/EvolverGroup/zf-api-problem/statuses/{sha}","languages_url":"https://api.github.com/repos/EvolverGroup/zf-api-problem/languages","stargazers_url":"https://api.github.com/repos/EvolverGroup/zf-api-problem/stargazers","contributors_url":"https://api.github.com/repos/EvolverGroup/zf-api-problem/contributors","subscribers_url":"https://api.github.com/repos/EvolverGroup/zf-api-problem/subscribers","subscription_url":"https://api.github.com/repos/EvolverGroup/zf-api-problem/subscription","commits_url":"https://api.github.com/repos/EvolverGroup/zf-api-problem/commits{/sha}","git_commits_url":"https://api.github.com/repos/EvolverGroup/zf-api-problem/git/commits{/sha}","comments_url":"https://api.github.com/repos/EvolverGroup/zf-api-problem/comments{/number}","issue_comment_url":"https://api.github.com/repos/EvolverGroup/zf-api-problem/issues/comments{/number}","contents_url":"https://api.github.com/repos/EvolverGroup/zf-api-problem/contents/{+path}","compare_url":"https://api.github.com/repos/EvolverGroup/zf-api-problem/compare/{base}...{head}","merges_url":"https://api.github.com/repos/EvolverGroup/zf-api-problem/merges","archive_url":"https://api.github.com/repos/EvolverGroup/zf-api-problem/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/EvolverGroup/zf-api-problem/downloads","issues_url":"https://api.github.com/repos/EvolverGroup/zf-api-problem/issues{/number}","pulls_url":"https://api.github.com/repos/EvolverGroup/zf-api-problem/pulls{/number}","milestones_url":"https://api.github.com/repos/EvolverGroup/zf-api-problem/milestones{/number}","notifications_url":"https://api.github.com/repos/EvolverGroup/zf-api-problem/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/EvolverGroup/zf-api-problem/labels{/name}","releases_url":"https://api.github.com/repos/EvolverGroup/zf-api-problem/releases{/id}","created_at":"2015-03-03T16:04:16Z","updated_at":"2015-03-03T16:04:16Z","pushed_at":"2015-03-04T16:51:42Z","git_url":"git://github.com/EvolverGroup/zf-api-problem.git","ssh_url":"git@github.com:EvolverGroup/zf-api-problem.git","clone_url":"https://github.com/EvolverGroup/zf-api-problem.git","svn_url":"https://github.com/EvolverGroup/zf-api-problem","homepage":null,"size":1490,"stargazers_count":0,"watchers_count":0,"language":"PHP","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":"zfcampus:develop","ref":"develop","sha":"42fcc527d07742b8f8031f07b8231882ebd69762","user":{"login":"zfcampus","id":5454933,"avatar_url":"https://avatars.githubusercontent.com/u/5454933?v=3","gravatar_id":"","url":"https://api.github.com/users/zfcampus","html_url":"https://github.com/zfcampus","followers_url":"https://api.github.com/users/zfcampus/followers","following_url":"https://api.github.com/users/zfcampus/following{/other_user}","gists_url":"https://api.github.com/users/zfcampus/gists{/gist_id}","starred_url":"https://api.github.com/users/zfcampus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zfcampus/subscriptions","organizations_url":"https://api.github.com/users/zfcampus/orgs","repos_url":"https://api.github.com/users/zfcampus/repos","events_url":"https://api.github.com/users/zfcampus/events{/privacy}","received_events_url":"https://api.github.com/users/zfcampus/received_events","type":"Organization","site_admin":false},"repo":{"id":12137830,"name":"zf-api-problem","full_name":"zfcampus/zf-api-problem","owner":{"login":"zfcampus","id":5454933,"avatar_url":"https://avatars.githubusercontent.com/u/5454933?v=3","gravatar_id":"","url":"https://api.github.com/users/zfcampus","html_url":"https://github.com/zfcampus","followers_url":"https://api.github.com/users/zfcampus/followers","following_url":"https://api.github.com/users/zfcampus/following{/other_user}","gists_url":"https://api.github.com/users/zfcampus/gists{/gist_id}","starred_url":"https://api.github.com/users/zfcampus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zfcampus/subscriptions","organizations_url":"https://api.github.com/users/zfcampus/orgs","repos_url":"https://api.github.com/users/zfcampus/repos","events_url":"https://api.github.com/users/zfcampus/events{/privacy}","received_events_url":"https://api.github.com/users/zfcampus/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/zfcampus/zf-api-problem","description":null,"fork":false,"url":"https://api.github.com/repos/zfcampus/zf-api-problem","forks_url":"https://api.github.com/repos/zfcampus/zf-api-problem/forks","keys_url":"https://api.github.com/repos/zfcampus/zf-api-problem/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zfcampus/zf-api-problem/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zfcampus/zf-api-problem/teams","hooks_url":"https://api.github.com/repos/zfcampus/zf-api-problem/hooks","issue_events_url":"https://api.github.com/repos/zfcampus/zf-api-problem/issues/events{/number}","events_url":"https://api.github.com/repos/zfcampus/zf-api-problem/events","assignees_url":"https://api.github.com/repos/zfcampus/zf-api-problem/assignees{/user}","branches_url":"https://api.github.com/repos/zfcampus/zf-api-problem/branches{/branch}","tags_url":"https://api.github.com/repos/zfcampus/zf-api-problem/tags","blobs_url":"https://api.github.com/repos/zfcampus/zf-api-problem/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zfcampus/zf-api-problem/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zfcampus/zf-api-problem/git/refs{/sha}","trees_url":"https://api.github.com/repos/zfcampus/zf-api-problem/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zfcampus/zf-api-problem/statuses/{sha}","languages_url":"https://api.github.com/repos/zfcampus/zf-api-problem/languages","stargazers_url":"https://api.github.com/repos/zfcampus/zf-api-problem/stargazers","contributors_url":"https://api.github.com/repos/zfcampus/zf-api-problem/contributors","subscribers_url":"https://api.github.com/repos/zfcampus/zf-api-problem/subscribers","subscription_url":"https://api.github.com/repos/zfcampus/zf-api-problem/subscription","commits_url":"https://api.github.com/repos/zfcampus/zf-api-problem/commits{/sha}","git_commits_url":"https://api.github.com/repos/zfcampus/zf-api-problem/git/commits{/sha}","comments_url":"https://api.github.com/repos/zfcampus/zf-api-problem/comments{/number}","issue_comment_url":"https://api.github.com/repos/zfcampus/zf-api-problem/issues/comments{/number}","contents_url":"https://api.github.com/repos/zfcampus/zf-api-problem/contents/{+path}","compare_url":"https://api.github.com/repos/zfcampus/zf-api-problem/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zfcampus/zf-api-problem/merges","archive_url":"https://api.github.com/repos/zfcampus/zf-api-problem/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zfcampus/zf-api-problem/downloads","issues_url":"https://api.github.com/repos/zfcampus/zf-api-problem/issues{/number}","pulls_url":"https://api.github.com/repos/zfcampus/zf-api-problem/pulls{/number}","milestones_url":"https://api.github.com/repos/zfcampus/zf-api-problem/milestones{/number}","notifications_url":"https://api.github.com/repos/zfcampus/zf-api-problem/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zfcampus/zf-api-problem/labels{/name}","releases_url":"https://api.github.com/repos/zfcampus/zf-api-problem/releases{/id}","created_at":"2013-08-15T15:33:55Z","updated_at":"2015-03-07T11:55:03Z","pushed_at":"2014-08-18T16:16:06Z","git_url":"git://github.com/zfcampus/zf-api-problem.git","ssh_url":"git@github.com:zfcampus/zf-api-problem.git","clone_url":"https://github.com/zfcampus/zf-api-problem.git","svn_url":"https://github.com/zfcampus/zf-api-problem","homepage":null,"size":2206,"stargazers_count":11,"watchers_count":11,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":13,"mirror_url":null,"open_issues_count":6,"forks":13,"open_issues":6,"watchers":11,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/zfcampus/zf-api-problem/pulls/31"},"html":{"href":"https://github.com/zfcampus/zf-api-problem/pull/31"},"issue":{"href":"https://api.github.com/repos/zfcampus/zf-api-problem/issues/31"},"comments":{"href":"https://api.github.com/repos/zfcampus/zf-api-problem/issues/31/comments"},"review_comments":{"href":"https://api.github.com/repos/zfcampus/zf-api-problem/pulls/31/comments"},"review_comment":{"href":"https://api.github.com/repos/zfcampus/zf-api-problem/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/zfcampus/zf-api-problem/pulls/31/commits"},"statuses":{"href":"https://api.github.com/repos/zfcampus/zf-api-problem/statuses/e393407bb775324255f5ff5a3719bd7c1373df04"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":1,"review_comments":0,"commits":2,"additions":174,"deletions":9,"changed_files":4}}