{"action":"opened","number":31,"pull_request":{"url":"https://api.github.com/repos/hmrc/captain/pulls/31","id":36211209,"html_url":"https://github.com/hmrc/captain/pull/31","diff_url":"https://github.com/hmrc/captain/pull/31.diff","patch_url":"https://github.com/hmrc/captain/pull/31.patch","issue_url":"https://api.github.com/repos/hmrc/captain/issues/31","number":31,"state":"open","locked":false,"title":"return hostname from the api to make it more consistent with instance creation","user":{"login":"tommyvn","id":910265,"avatar_url":"https://avatars.githubusercontent.com/u/910265?v=3","gravatar_id":"","url":"https://api.github.com/users/tommyvn","html_url":"https://github.com/tommyvn","followers_url":"https://api.github.com/users/tommyvn/followers","following_url":"https://api.github.com/users/tommyvn/following{/other_user}","gists_url":"https://api.github.com/users/tommyvn/gists{/gist_id}","starred_url":"https://api.github.com/users/tommyvn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tommyvn/subscriptions","organizations_url":"https://api.github.com/users/tommyvn/orgs","repos_url":"https://api.github.com/users/tommyvn/repos","events_url":"https://api.github.com/users/tommyvn/events{/privacy}","received_events_url":"https://api.github.com/users/tommyvn/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-05-26T14:58:37Z","updated_at":"2015-05-26T14:58:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/hmrc/captain/pulls/31/commits","review_comments_url":"https://api.github.com/repos/hmrc/captain/pulls/31/comments","review_comment_url":"https://api.github.com/repos/hmrc/captain/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hmrc/captain/issues/31/comments","statuses_url":"https://api.github.com/repos/hmrc/captain/statuses/239d80fdecd359d6ffa6c0a0a3890b1512b75b39","head":{"label":"hmrc:consistent-hostname-in-and-out-api","ref":"consistent-hostname-in-and-out-api","sha":"239d80fdecd359d6ffa6c0a0a3890b1512b75b39","user":{"login":"hmrc","id":5755339,"avatar_url":"https://avatars.githubusercontent.com/u/5755339?v=3","gravatar_id":"","url":"https://api.github.com/users/hmrc","html_url":"https://github.com/hmrc","followers_url":"https://api.github.com/users/hmrc/followers","following_url":"https://api.github.com/users/hmrc/following{/other_user}","gists_url":"https://api.github.com/users/hmrc/gists{/gist_id}","starred_url":"https://api.github.com/users/hmrc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hmrc/subscriptions","organizations_url":"https://api.github.com/users/hmrc/orgs","repos_url":"https://api.github.com/users/hmrc/repos","events_url":"https://api.github.com/users/hmrc/events{/privacy}","received_events_url":"https://api.github.com/users/hmrc/received_events","type":"Organization","site_admin":false},"repo":{"id":24492605,"name":"captain","full_name":"hmrc/captain","owner":{"login":"hmrc","id":5755339,"avatar_url":"https://avatars.githubusercontent.com/u/5755339?v=3","gravatar_id":"","url":"https://api.github.com/users/hmrc","html_url":"https://github.com/hmrc","followers_url":"https://api.github.com/users/hmrc/followers","following_url":"https://api.github.com/users/hmrc/following{/other_user}","gists_url":"https://api.github.com/users/hmrc/gists{/gist_id}","starred_url":"https://api.github.com/users/hmrc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hmrc/subscriptions","organizations_url":"https://api.github.com/users/hmrc/orgs","repos_url":"https://api.github.com/users/hmrc/repos","events_url":"https://api.github.com/users/hmrc/events{/privacy}","received_events_url":"https://api.github.com/users/hmrc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hmrc/captain","description":"  The Captain of our containers","fork":false,"url":"https://api.github.com/repos/hmrc/captain","forks_url":"https://api.github.com/repos/hmrc/captain/forks","keys_url":"https://api.github.com/repos/hmrc/captain/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hmrc/captain/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hmrc/captain/teams","hooks_url":"https://api.github.com/repos/hmrc/captain/hooks","issue_events_url":"https://api.github.com/repos/hmrc/captain/issues/events{/number}","events_url":"https://api.github.com/repos/hmrc/captain/events","assignees_url":"https://api.github.com/repos/hmrc/captain/assignees{/user}","branches_url":"https://api.github.com/repos/hmrc/captain/branches{/branch}","tags_url":"https://api.github.com/repos/hmrc/captain/tags","blobs_url":"https://api.github.com/repos/hmrc/captain/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hmrc/captain/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hmrc/captain/git/refs{/sha}","trees_url":"https://api.github.com/repos/hmrc/captain/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hmrc/captain/statuses/{sha}","languages_url":"https://api.github.com/repos/hmrc/captain/languages","stargazers_url":"https://api.github.com/repos/hmrc/captain/stargazers","contributors_url":"https://api.github.com/repos/hmrc/captain/contributors","subscribers_url":"https://api.github.com/repos/hmrc/captain/subscribers","subscription_url":"https://api.github.com/repos/hmrc/captain/subscription","commits_url":"https://api.github.com/repos/hmrc/captain/commits{/sha}","git_commits_url":"https://api.github.com/repos/hmrc/captain/git/commits{/sha}","comments_url":"https://api.github.com/repos/hmrc/captain/comments{/number}","issue_comment_url":"https://api.github.com/repos/hmrc/captain/issues/comments{/number}","contents_url":"https://api.github.com/repos/hmrc/captain/contents/{+path}","compare_url":"https://api.github.com/repos/hmrc/captain/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hmrc/captain/merges","archive_url":"https://api.github.com/repos/hmrc/captain/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hmrc/captain/downloads","issues_url":"https://api.github.com/repos/hmrc/captain/issues{/number}","pulls_url":"https://api.github.com/repos/hmrc/captain/pulls{/number}","milestones_url":"https://api.github.com/repos/hmrc/captain/milestones{/number}","notifications_url":"https://api.github.com/repos/hmrc/captain/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hmrc/captain/labels{/name}","releases_url":"https://api.github.com/repos/hmrc/captain/releases{/id}","created_at":"2014-09-26T08:45:20Z","updated_at":"2015-04-13T14:57:49Z","pushed_at":"2015-05-26T14:58:03Z","git_url":"git://github.com/hmrc/captain.git","ssh_url":"git@github.com:hmrc/captain.git","clone_url":"https://github.com/hmrc/captain.git","svn_url":"https://github.com/hmrc/captain","homepage":null,"size":756,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":1,"forks":4,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"hmrc:master","ref":"master","sha":"2d2449c57dfac8090821eded5a96b54b6eda7920","user":{"login":"hmrc","id":5755339,"avatar_url":"https://avatars.githubusercontent.com/u/5755339?v=3","gravatar_id":"","url":"https://api.github.com/users/hmrc","html_url":"https://github.com/hmrc","followers_url":"https://api.github.com/users/hmrc/followers","following_url":"https://api.github.com/users/hmrc/following{/other_user}","gists_url":"https://api.github.com/users/hmrc/gists{/gist_id}","starred_url":"https://api.github.com/users/hmrc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hmrc/subscriptions","organizations_url":"https://api.github.com/users/hmrc/orgs","repos_url":"https://api.github.com/users/hmrc/repos","events_url":"https://api.github.com/users/hmrc/events{/privacy}","received_events_url":"https://api.github.com/users/hmrc/received_events","type":"Organization","site_admin":false},"repo":{"id":24492605,"name":"captain","full_name":"hmrc/captain","owner":{"login":"hmrc","id":5755339,"avatar_url":"https://avatars.githubusercontent.com/u/5755339?v=3","gravatar_id":"","url":"https://api.github.com/users/hmrc","html_url":"https://github.com/hmrc","followers_url":"https://api.github.com/users/hmrc/followers","following_url":"https://api.github.com/users/hmrc/following{/other_user}","gists_url":"https://api.github.com/users/hmrc/gists{/gist_id}","starred_url":"https://api.github.com/users/hmrc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hmrc/subscriptions","organizations_url":"https://api.github.com/users/hmrc/orgs","repos_url":"https://api.github.com/users/hmrc/repos","events_url":"https://api.github.com/users/hmrc/events{/privacy}","received_events_url":"https://api.github.com/users/hmrc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hmrc/captain","description":"  The Captain of our containers","fork":false,"url":"https://api.github.com/repos/hmrc/captain","forks_url":"https://api.github.com/repos/hmrc/captain/forks","keys_url":"https://api.github.com/repos/hmrc/captain/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hmrc/captain/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hmrc/captain/teams","hooks_url":"https://api.github.com/repos/hmrc/captain/hooks","issue_events_url":"https://api.github.com/repos/hmrc/captain/issues/events{/number}","events_url":"https://api.github.com/repos/hmrc/captain/events","assignees_url":"https://api.github.com/repos/hmrc/captain/assignees{/user}","branches_url":"https://api.github.com/repos/hmrc/captain/branches{/branch}","tags_url":"https://api.github.com/repos/hmrc/captain/tags","blobs_url":"https://api.github.com/repos/hmrc/captain/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hmrc/captain/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hmrc/captain/git/refs{/sha}","trees_url":"https://api.github.com/repos/hmrc/captain/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hmrc/captain/statuses/{sha}","languages_url":"https://api.github.com/repos/hmrc/captain/languages","stargazers_url":"https://api.github.com/repos/hmrc/captain/stargazers","contributors_url":"https://api.github.com/repos/hmrc/captain/contributors","subscribers_url":"https://api.github.com/repos/hmrc/captain/subscribers","subscription_url":"https://api.github.com/repos/hmrc/captain/subscription","commits_url":"https://api.github.com/repos/hmrc/captain/commits{/sha}","git_commits_url":"https://api.github.com/repos/hmrc/captain/git/commits{/sha}","comments_url":"https://api.github.com/repos/hmrc/captain/comments{/number}","issue_comment_url":"https://api.github.com/repos/hmrc/captain/issues/comments{/number}","contents_url":"https://api.github.com/repos/hmrc/captain/contents/{+path}","compare_url":"https://api.github.com/repos/hmrc/captain/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hmrc/captain/merges","archive_url":"https://api.github.com/repos/hmrc/captain/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hmrc/captain/downloads","issues_url":"https://api.github.com/repos/hmrc/captain/issues{/number}","pulls_url":"https://api.github.com/repos/hmrc/captain/pulls{/number}","milestones_url":"https://api.github.com/repos/hmrc/captain/milestones{/number}","notifications_url":"https://api.github.com/repos/hmrc/captain/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hmrc/captain/labels{/name}","releases_url":"https://api.github.com/repos/hmrc/captain/releases{/id}","created_at":"2014-09-26T08:45:20Z","updated_at":"2015-04-13T14:57:49Z","pushed_at":"2015-05-26T14:58:03Z","git_url":"git://github.com/hmrc/captain.git","ssh_url":"git@github.com:hmrc/captain.git","clone_url":"https://github.com/hmrc/captain.git","svn_url":"https://github.com/hmrc/captain","homepage":null,"size":756,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":1,"forks":4,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hmrc/captain/pulls/31"},"html":{"href":"https://github.com/hmrc/captain/pull/31"},"issue":{"href":"https://api.github.com/repos/hmrc/captain/issues/31"},"comments":{"href":"https://api.github.com/repos/hmrc/captain/issues/31/comments"},"review_comments":{"href":"https://api.github.com/repos/hmrc/captain/pulls/31/comments"},"review_comment":{"href":"https://api.github.com/repos/hmrc/captain/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hmrc/captain/pulls/31/commits"},"statuses":{"href":"https://api.github.com/repos/hmrc/captain/statuses/239d80fdecd359d6ffa6c0a0a3890b1512b75b39"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":2,"deletions":1,"changed_files":1}}