{"action":"closed","number":18,"pull_request":{"url":"https://api.github.com/repos/whitmo/charm-kubernetes/pulls/18","id":32703987,"html_url":"https://github.com/whitmo/charm-kubernetes/pull/18","diff_url":"https://github.com/whitmo/charm-kubernetes/pull/18.diff","patch_url":"https://github.com/whitmo/charm-kubernetes/pull/18.patch","issue_url":"https://api.github.com/repos/whitmo/charm-kubernetes/issues/18","number":18,"state":"closed","locked":false,"title":"Api response codes","user":{"login":"mbruzek","id":6385185,"avatar_url":"https://avatars.githubusercontent.com/u/6385185?v=3","gravatar_id":"","url":"https://api.github.com/users/mbruzek","html_url":"https://github.com/mbruzek","followers_url":"https://api.github.com/users/mbruzek/followers","following_url":"https://api.github.com/users/mbruzek/following{/other_user}","gists_url":"https://api.github.com/users/mbruzek/gists{/gist_id}","starred_url":"https://api.github.com/users/mbruzek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbruzek/subscriptions","organizations_url":"https://api.github.com/users/mbruzek/orgs","repos_url":"https://api.github.com/users/mbruzek/repos","events_url":"https://api.github.com/users/mbruzek/events{/privacy}","received_events_url":"https://api.github.com/users/mbruzek/received_events","type":"User","site_admin":false},"body":"- Moved the original request to one-line because it fits under 80 characters.\r\n\r\n- Added 201 to the successful response codes.\r\n\r\n- Moved 409 to its own branch, because that indicates a status conflict, and PUT should be used instead.","created_at":"2015-04-06T19:36:36Z","updated_at":"2015-04-06T19:46:06Z","closed_at":"2015-04-06T19:46:05Z","merged_at":"2015-04-06T19:46:05Z","merge_commit_sha":"82a3e377b29afbcda50f26f316169945a4da035b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/whitmo/charm-kubernetes/pulls/18/commits","review_comments_url":"https://api.github.com/repos/whitmo/charm-kubernetes/pulls/18/comments","review_comment_url":"https://api.github.com/repos/whitmo/charm-kubernetes/pulls/comments{/number}","comments_url":"https://api.github.com/repos/whitmo/charm-kubernetes/issues/18/comments","statuses_url":"https://api.github.com/repos/whitmo/charm-kubernetes/statuses/677af41716feec563de6cb65d2dc726715acdc37","head":{"label":"mbruzek:api-response-codes","ref":"api-response-codes","sha":"677af41716feec563de6cb65d2dc726715acdc37","user":{"login":"mbruzek","id":6385185,"avatar_url":"https://avatars.githubusercontent.com/u/6385185?v=3","gravatar_id":"","url":"https://api.github.com/users/mbruzek","html_url":"https://github.com/mbruzek","followers_url":"https://api.github.com/users/mbruzek/followers","following_url":"https://api.github.com/users/mbruzek/following{/other_user}","gists_url":"https://api.github.com/users/mbruzek/gists{/gist_id}","starred_url":"https://api.github.com/users/mbruzek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbruzek/subscriptions","organizations_url":"https://api.github.com/users/mbruzek/orgs","repos_url":"https://api.github.com/users/mbruzek/repos","events_url":"https://api.github.com/users/mbruzek/events{/privacy}","received_events_url":"https://api.github.com/users/mbruzek/received_events","type":"User","site_admin":false},"repo":{"id":29303408,"name":"charm-kubernetes","full_name":"mbruzek/charm-kubernetes","owner":{"login":"mbruzek","id":6385185,"avatar_url":"https://avatars.githubusercontent.com/u/6385185?v=3","gravatar_id":"","url":"https://api.github.com/users/mbruzek","html_url":"https://github.com/mbruzek","followers_url":"https://api.github.com/users/mbruzek/followers","following_url":"https://api.github.com/users/mbruzek/following{/other_user}","gists_url":"https://api.github.com/users/mbruzek/gists{/gist_id}","starred_url":"https://api.github.com/users/mbruzek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbruzek/subscriptions","organizations_url":"https://api.github.com/users/mbruzek/orgs","repos_url":"https://api.github.com/users/mbruzek/repos","events_url":"https://api.github.com/users/mbruzek/events{/privacy}","received_events_url":"https://api.github.com/users/mbruzek/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mbruzek/charm-kubernetes","description":"A juju charm to deploy a kubernetes minion","fork":true,"url":"https://api.github.com/repos/mbruzek/charm-kubernetes","forks_url":"https://api.github.com/repos/mbruzek/charm-kubernetes/forks","keys_url":"https://api.github.com/repos/mbruzek/charm-kubernetes/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mbruzek/charm-kubernetes/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mbruzek/charm-kubernetes/teams","hooks_url":"https://api.github.com/repos/mbruzek/charm-kubernetes/hooks","issue_events_url":"https://api.github.com/repos/mbruzek/charm-kubernetes/issues/events{/number}","events_url":"https://api.github.com/repos/mbruzek/charm-kubernetes/events","assignees_url":"https://api.github.com/repos/mbruzek/charm-kubernetes/assignees{/user}","branches_url":"https://api.github.com/repos/mbruzek/charm-kubernetes/branches{/branch}","tags_url":"https://api.github.com/repos/mbruzek/charm-kubernetes/tags","blobs_url":"https://api.github.com/repos/mbruzek/charm-kubernetes/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mbruzek/charm-kubernetes/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mbruzek/charm-kubernetes/git/refs{/sha}","trees_url":"https://api.github.com/repos/mbruzek/charm-kubernetes/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mbruzek/charm-kubernetes/statuses/{sha}","languages_url":"https://api.github.com/repos/mbruzek/charm-kubernetes/languages","stargazers_url":"https://api.github.com/repos/mbruzek/charm-kubernetes/stargazers","contributors_url":"https://api.github.com/repos/mbruzek/charm-kubernetes/contributors","subscribers_url":"https://api.github.com/repos/mbruzek/charm-kubernetes/subscribers","subscription_url":"https://api.github.com/repos/mbruzek/charm-kubernetes/subscription","commits_url":"https://api.github.com/repos/mbruzek/charm-kubernetes/commits{/sha}","git_commits_url":"https://api.github.com/repos/mbruzek/charm-kubernetes/git/commits{/sha}","comments_url":"https://api.github.com/repos/mbruzek/charm-kubernetes/comments{/number}","issue_comment_url":"https://api.github.com/repos/mbruzek/charm-kubernetes/issues/comments{/number}","contents_url":"https://api.github.com/repos/mbruzek/charm-kubernetes/contents/{+path}","compare_url":"https://api.github.com/repos/mbruzek/charm-kubernetes/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mbruzek/charm-kubernetes/merges","archive_url":"https://api.github.com/repos/mbruzek/charm-kubernetes/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mbruzek/charm-kubernetes/downloads","issues_url":"https://api.github.com/repos/mbruzek/charm-kubernetes/issues{/number}","pulls_url":"https://api.github.com/repos/mbruzek/charm-kubernetes/pulls{/number}","milestones_url":"https://api.github.com/repos/mbruzek/charm-kubernetes/milestones{/number}","notifications_url":"https://api.github.com/repos/mbruzek/charm-kubernetes/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mbruzek/charm-kubernetes/labels{/name}","releases_url":"https://api.github.com/repos/mbruzek/charm-kubernetes/releases{/id}","created_at":"2015-01-15T15:23:14Z","updated_at":"2015-01-15T15:23:15Z","pushed_at":"2015-04-06T19:35:16Z","git_url":"git://github.com/mbruzek/charm-kubernetes.git","ssh_url":"git@github.com:mbruzek/charm-kubernetes.git","clone_url":"https://github.com/mbruzek/charm-kubernetes.git","svn_url":"https://github.com/mbruzek/charm-kubernetes","homepage":null,"size":22826,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"whitmo:master","ref":"master","sha":"0cc57d7116cb28a8226b943416b40af7c4c5356d","user":{"login":"whitmo","id":25968,"avatar_url":"https://avatars.githubusercontent.com/u/25968?v=3","gravatar_id":"","url":"https://api.github.com/users/whitmo","html_url":"https://github.com/whitmo","followers_url":"https://api.github.com/users/whitmo/followers","following_url":"https://api.github.com/users/whitmo/following{/other_user}","gists_url":"https://api.github.com/users/whitmo/gists{/gist_id}","starred_url":"https://api.github.com/users/whitmo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whitmo/subscriptions","organizations_url":"https://api.github.com/users/whitmo/orgs","repos_url":"https://api.github.com/users/whitmo/repos","events_url":"https://api.github.com/users/whitmo/events{/privacy}","received_events_url":"https://api.github.com/users/whitmo/received_events","type":"User","site_admin":false},"repo":{"id":29257085,"name":"charm-kubernetes","full_name":"whitmo/charm-kubernetes","owner":{"login":"whitmo","id":25968,"avatar_url":"https://avatars.githubusercontent.com/u/25968?v=3","gravatar_id":"","url":"https://api.github.com/users/whitmo","html_url":"https://github.com/whitmo","followers_url":"https://api.github.com/users/whitmo/followers","following_url":"https://api.github.com/users/whitmo/following{/other_user}","gists_url":"https://api.github.com/users/whitmo/gists{/gist_id}","starred_url":"https://api.github.com/users/whitmo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whitmo/subscriptions","organizations_url":"https://api.github.com/users/whitmo/orgs","repos_url":"https://api.github.com/users/whitmo/repos","events_url":"https://api.github.com/users/whitmo/events{/privacy}","received_events_url":"https://api.github.com/users/whitmo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/whitmo/charm-kubernetes","description":"A juju charm to deploy a kubernetes minion","fork":true,"url":"https://api.github.com/repos/whitmo/charm-kubernetes","forks_url":"https://api.github.com/repos/whitmo/charm-kubernetes/forks","keys_url":"https://api.github.com/repos/whitmo/charm-kubernetes/keys{/key_id}","collaborators_url":"https://api.github.com/repos/whitmo/charm-kubernetes/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/whitmo/charm-kubernetes/teams","hooks_url":"https://api.github.com/repos/whitmo/charm-kubernetes/hooks","issue_events_url":"https://api.github.com/repos/whitmo/charm-kubernetes/issues/events{/number}","events_url":"https://api.github.com/repos/whitmo/charm-kubernetes/events","assignees_url":"https://api.github.com/repos/whitmo/charm-kubernetes/assignees{/user}","branches_url":"https://api.github.com/repos/whitmo/charm-kubernetes/branches{/branch}","tags_url":"https://api.github.com/repos/whitmo/charm-kubernetes/tags","blobs_url":"https://api.github.com/repos/whitmo/charm-kubernetes/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/whitmo/charm-kubernetes/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/whitmo/charm-kubernetes/git/refs{/sha}","trees_url":"https://api.github.com/repos/whitmo/charm-kubernetes/git/trees{/sha}","statuses_url":"https://api.github.com/repos/whitmo/charm-kubernetes/statuses/{sha}","languages_url":"https://api.github.com/repos/whitmo/charm-kubernetes/languages","stargazers_url":"https://api.github.com/repos/whitmo/charm-kubernetes/stargazers","contributors_url":"https://api.github.com/repos/whitmo/charm-kubernetes/contributors","subscribers_url":"https://api.github.com/repos/whitmo/charm-kubernetes/subscribers","subscription_url":"https://api.github.com/repos/whitmo/charm-kubernetes/subscription","commits_url":"https://api.github.com/repos/whitmo/charm-kubernetes/commits{/sha}","git_commits_url":"https://api.github.com/repos/whitmo/charm-kubernetes/git/commits{/sha}","comments_url":"https://api.github.com/repos/whitmo/charm-kubernetes/comments{/number}","issue_comment_url":"https://api.github.com/repos/whitmo/charm-kubernetes/issues/comments{/number}","contents_url":"https://api.github.com/repos/whitmo/charm-kubernetes/contents/{+path}","compare_url":"https://api.github.com/repos/whitmo/charm-kubernetes/compare/{base}...{head}","merges_url":"https://api.github.com/repos/whitmo/charm-kubernetes/merges","archive_url":"https://api.github.com/repos/whitmo/charm-kubernetes/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/whitmo/charm-kubernetes/downloads","issues_url":"https://api.github.com/repos/whitmo/charm-kubernetes/issues{/number}","pulls_url":"https://api.github.com/repos/whitmo/charm-kubernetes/pulls{/number}","milestones_url":"https://api.github.com/repos/whitmo/charm-kubernetes/milestones{/number}","notifications_url":"https://api.github.com/repos/whitmo/charm-kubernetes/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/whitmo/charm-kubernetes/labels{/name}","releases_url":"https://api.github.com/repos/whitmo/charm-kubernetes/releases{/id}","created_at":"2015-01-14T17:44:53Z","updated_at":"2015-03-17T20:20:42Z","pushed_at":"2015-04-06T19:46:06Z","git_url":"git://github.com/whitmo/charm-kubernetes.git","ssh_url":"git@github.com:whitmo/charm-kubernetes.git","clone_url":"https://github.com/whitmo/charm-kubernetes.git","svn_url":"https://github.com/whitmo/charm-kubernetes","homepage":null,"size":23014,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":4,"forks":2,"open_issues":4,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/whitmo/charm-kubernetes/pulls/18"},"html":{"href":"https://github.com/whitmo/charm-kubernetes/pull/18"},"issue":{"href":"https://api.github.com/repos/whitmo/charm-kubernetes/issues/18"},"comments":{"href":"https://api.github.com/repos/whitmo/charm-kubernetes/issues/18/comments"},"review_comments":{"href":"https://api.github.com/repos/whitmo/charm-kubernetes/pulls/18/comments"},"review_comment":{"href":"https://api.github.com/repos/whitmo/charm-kubernetes/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/whitmo/charm-kubernetes/pulls/18/commits"},"statuses":{"href":"https://api.github.com/repos/whitmo/charm-kubernetes/statuses/677af41716feec563de6cb65d2dc726715acdc37"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"chuckbutler","id":246944,"avatar_url":"https://avatars.githubusercontent.com/u/246944?v=3","gravatar_id":"","url":"https://api.github.com/users/chuckbutler","html_url":"https://github.com/chuckbutler","followers_url":"https://api.github.com/users/chuckbutler/followers","following_url":"https://api.github.com/users/chuckbutler/following{/other_user}","gists_url":"https://api.github.com/users/chuckbutler/gists{/gist_id}","starred_url":"https://api.github.com/users/chuckbutler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chuckbutler/subscriptions","organizations_url":"https://api.github.com/users/chuckbutler/orgs","repos_url":"https://api.github.com/users/chuckbutler/repos","events_url":"https://api.github.com/users/chuckbutler/events{/privacy}","received_events_url":"https://api.github.com/users/chuckbutler/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":2,"additions":8,"deletions":5,"changed_files":1}}