{"action":"opened","number":151,"pull_request":{"url":"https://api.github.com/repos/spotify/docker-client/pulls/151","id":32238547,"html_url":"https://github.com/spotify/docker-client/pull/151","diff_url":"https://github.com/spotify/docker-client/pull/151.diff","patch_url":"https://github.com/spotify/docker-client/pull/151.patch","issue_url":"https://api.github.com/repos/spotify/docker-client/issues/151","number":151,"state":"open","locked":false,"title":"portsAsString method added to display container port info","user":{"login":"ipedrazas","id":32796,"avatar_url":"https://avatars.githubusercontent.com/u/32796?v=3","gravatar_id":"","url":"https://api.github.com/users/ipedrazas","html_url":"https://github.com/ipedrazas","followers_url":"https://api.github.com/users/ipedrazas/followers","following_url":"https://api.github.com/users/ipedrazas/following{/other_user}","gists_url":"https://api.github.com/users/ipedrazas/gists{/gist_id}","starred_url":"https://api.github.com/users/ipedrazas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ipedrazas/subscriptions","organizations_url":"https://api.github.com/users/ipedrazas/orgs","repos_url":"https://api.github.com/users/ipedrazas/repos","events_url":"https://api.github.com/users/ipedrazas/events{/privacy}","received_events_url":"https://api.github.com/users/ipedrazas/received_events","type":"User","site_admin":false},"body":"as discussed in the issue https://github.com/spotify/docker-client/issues/150 this change returns a String with the ports info the way `docker ps` does.\r\n\r\nDocker ps:\r\n\r\n`0.0.0.0:5432->5432/tcp`\r\n\r\nNote that portBinding displays the information the other way around\r\n\r\n`0.0.0.0:5432/tcp->5432`\r\n\r\nthis is because PortBinding doesn't contain the `type` property.\r\n","created_at":"2015-03-30T15:39:47Z","updated_at":"2015-03-30T15:39:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"44985c47c13a9940c302540e09387f7edd11ac45","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/spotify/docker-client/pulls/151/commits","review_comments_url":"https://api.github.com/repos/spotify/docker-client/pulls/151/comments","review_comment_url":"https://api.github.com/repos/spotify/docker-client/pulls/comments{/number}","comments_url":"https://api.github.com/repos/spotify/docker-client/issues/151/comments","statuses_url":"https://api.github.com/repos/spotify/docker-client/statuses/aa1625251c76801beb2d3610b0e1f01c6926c1df","head":{"label":"ipedrazas:master","ref":"master","sha":"aa1625251c76801beb2d3610b0e1f01c6926c1df","user":{"login":"ipedrazas","id":32796,"avatar_url":"https://avatars.githubusercontent.com/u/32796?v=3","gravatar_id":"","url":"https://api.github.com/users/ipedrazas","html_url":"https://github.com/ipedrazas","followers_url":"https://api.github.com/users/ipedrazas/followers","following_url":"https://api.github.com/users/ipedrazas/following{/other_user}","gists_url":"https://api.github.com/users/ipedrazas/gists{/gist_id}","starred_url":"https://api.github.com/users/ipedrazas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ipedrazas/subscriptions","organizations_url":"https://api.github.com/users/ipedrazas/orgs","repos_url":"https://api.github.com/users/ipedrazas/repos","events_url":"https://api.github.com/users/ipedrazas/events{/privacy}","received_events_url":"https://api.github.com/users/ipedrazas/received_events","type":"User","site_admin":false},"repo":{"id":33130317,"name":"docker-client","full_name":"ipedrazas/docker-client","owner":{"login":"ipedrazas","id":32796,"avatar_url":"https://avatars.githubusercontent.com/u/32796?v=3","gravatar_id":"","url":"https://api.github.com/users/ipedrazas","html_url":"https://github.com/ipedrazas","followers_url":"https://api.github.com/users/ipedrazas/followers","following_url":"https://api.github.com/users/ipedrazas/following{/other_user}","gists_url":"https://api.github.com/users/ipedrazas/gists{/gist_id}","starred_url":"https://api.github.com/users/ipedrazas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ipedrazas/subscriptions","organizations_url":"https://api.github.com/users/ipedrazas/orgs","repos_url":"https://api.github.com/users/ipedrazas/repos","events_url":"https://api.github.com/users/ipedrazas/events{/privacy}","received_events_url":"https://api.github.com/users/ipedrazas/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ipedrazas/docker-client","description":"A simple docker client for the JVM","fork":true,"url":"https://api.github.com/repos/ipedrazas/docker-client","forks_url":"https://api.github.com/repos/ipedrazas/docker-client/forks","keys_url":"https://api.github.com/repos/ipedrazas/docker-client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ipedrazas/docker-client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ipedrazas/docker-client/teams","hooks_url":"https://api.github.com/repos/ipedrazas/docker-client/hooks","issue_events_url":"https://api.github.com/repos/ipedrazas/docker-client/issues/events{/number}","events_url":"https://api.github.com/repos/ipedrazas/docker-client/events","assignees_url":"https://api.github.com/repos/ipedrazas/docker-client/assignees{/user}","branches_url":"https://api.github.com/repos/ipedrazas/docker-client/branches{/branch}","tags_url":"https://api.github.com/repos/ipedrazas/docker-client/tags","blobs_url":"https://api.github.com/repos/ipedrazas/docker-client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ipedrazas/docker-client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ipedrazas/docker-client/git/refs{/sha}","trees_url":"https://api.github.com/repos/ipedrazas/docker-client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ipedrazas/docker-client/statuses/{sha}","languages_url":"https://api.github.com/repos/ipedrazas/docker-client/languages","stargazers_url":"https://api.github.com/repos/ipedrazas/docker-client/stargazers","contributors_url":"https://api.github.com/repos/ipedrazas/docker-client/contributors","subscribers_url":"https://api.github.com/repos/ipedrazas/docker-client/subscribers","subscription_url":"https://api.github.com/repos/ipedrazas/docker-client/subscription","commits_url":"https://api.github.com/repos/ipedrazas/docker-client/commits{/sha}","git_commits_url":"https://api.github.com/repos/ipedrazas/docker-client/git/commits{/sha}","comments_url":"https://api.github.com/repos/ipedrazas/docker-client/comments{/number}","issue_comment_url":"https://api.github.com/repos/ipedrazas/docker-client/issues/comments{/number}","contents_url":"https://api.github.com/repos/ipedrazas/docker-client/contents/{+path}","compare_url":"https://api.github.com/repos/ipedrazas/docker-client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ipedrazas/docker-client/merges","archive_url":"https://api.github.com/repos/ipedrazas/docker-client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ipedrazas/docker-client/downloads","issues_url":"https://api.github.com/repos/ipedrazas/docker-client/issues{/number}","pulls_url":"https://api.github.com/repos/ipedrazas/docker-client/pulls{/number}","milestones_url":"https://api.github.com/repos/ipedrazas/docker-client/milestones{/number}","notifications_url":"https://api.github.com/repos/ipedrazas/docker-client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ipedrazas/docker-client/labels{/name}","releases_url":"https://api.github.com/repos/ipedrazas/docker-client/releases{/id}","created_at":"2015-03-30T15:08:36Z","updated_at":"2015-03-30T15:18:23Z","pushed_at":"2015-03-30T15:18:22Z","git_url":"git://github.com/ipedrazas/docker-client.git","ssh_url":"git@github.com:ipedrazas/docker-client.git","clone_url":"https://github.com/ipedrazas/docker-client.git","svn_url":"https://github.com/ipedrazas/docker-client","homepage":"","size":2838,"stargazers_count":0,"watchers_count":0,"language":"Java","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":"spotify:master","ref":"master","sha":"19aa8576e793ab11461bb5177d460326331450b1","user":{"login":"spotify","id":251374,"avatar_url":"https://avatars.githubusercontent.com/u/251374?v=3","gravatar_id":"","url":"https://api.github.com/users/spotify","html_url":"https://github.com/spotify","followers_url":"https://api.github.com/users/spotify/followers","following_url":"https://api.github.com/users/spotify/following{/other_user}","gists_url":"https://api.github.com/users/spotify/gists{/gist_id}","starred_url":"https://api.github.com/users/spotify/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spotify/subscriptions","organizations_url":"https://api.github.com/users/spotify/orgs","repos_url":"https://api.github.com/users/spotify/repos","events_url":"https://api.github.com/users/spotify/events{/privacy}","received_events_url":"https://api.github.com/users/spotify/received_events","type":"Organization","site_admin":false},"repo":{"id":20484506,"name":"docker-client","full_name":"spotify/docker-client","owner":{"login":"spotify","id":251374,"avatar_url":"https://avatars.githubusercontent.com/u/251374?v=3","gravatar_id":"","url":"https://api.github.com/users/spotify","html_url":"https://github.com/spotify","followers_url":"https://api.github.com/users/spotify/followers","following_url":"https://api.github.com/users/spotify/following{/other_user}","gists_url":"https://api.github.com/users/spotify/gists{/gist_id}","starred_url":"https://api.github.com/users/spotify/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spotify/subscriptions","organizations_url":"https://api.github.com/users/spotify/orgs","repos_url":"https://api.github.com/users/spotify/repos","events_url":"https://api.github.com/users/spotify/events{/privacy}","received_events_url":"https://api.github.com/users/spotify/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/spotify/docker-client","description":"A simple docker client for the JVM","fork":false,"url":"https://api.github.com/repos/spotify/docker-client","forks_url":"https://api.github.com/repos/spotify/docker-client/forks","keys_url":"https://api.github.com/repos/spotify/docker-client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/spotify/docker-client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/spotify/docker-client/teams","hooks_url":"https://api.github.com/repos/spotify/docker-client/hooks","issue_events_url":"https://api.github.com/repos/spotify/docker-client/issues/events{/number}","events_url":"https://api.github.com/repos/spotify/docker-client/events","assignees_url":"https://api.github.com/repos/spotify/docker-client/assignees{/user}","branches_url":"https://api.github.com/repos/spotify/docker-client/branches{/branch}","tags_url":"https://api.github.com/repos/spotify/docker-client/tags","blobs_url":"https://api.github.com/repos/spotify/docker-client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/spotify/docker-client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/spotify/docker-client/git/refs{/sha}","trees_url":"https://api.github.com/repos/spotify/docker-client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/spotify/docker-client/statuses/{sha}","languages_url":"https://api.github.com/repos/spotify/docker-client/languages","stargazers_url":"https://api.github.com/repos/spotify/docker-client/stargazers","contributors_url":"https://api.github.com/repos/spotify/docker-client/contributors","subscribers_url":"https://api.github.com/repos/spotify/docker-client/subscribers","subscription_url":"https://api.github.com/repos/spotify/docker-client/subscription","commits_url":"https://api.github.com/repos/spotify/docker-client/commits{/sha}","git_commits_url":"https://api.github.com/repos/spotify/docker-client/git/commits{/sha}","comments_url":"https://api.github.com/repos/spotify/docker-client/comments{/number}","issue_comment_url":"https://api.github.com/repos/spotify/docker-client/issues/comments{/number}","contents_url":"https://api.github.com/repos/spotify/docker-client/contents/{+path}","compare_url":"https://api.github.com/repos/spotify/docker-client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/spotify/docker-client/merges","archive_url":"https://api.github.com/repos/spotify/docker-client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/spotify/docker-client/downloads","issues_url":"https://api.github.com/repos/spotify/docker-client/issues{/number}","pulls_url":"https://api.github.com/repos/spotify/docker-client/pulls{/number}","milestones_url":"https://api.github.com/repos/spotify/docker-client/milestones{/number}","notifications_url":"https://api.github.com/repos/spotify/docker-client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/spotify/docker-client/labels{/name}","releases_url":"https://api.github.com/repos/spotify/docker-client/releases{/id}","created_at":"2014-06-04T13:22:10Z","updated_at":"2015-03-30T05:41:44Z","pushed_at":"2015-03-30T15:39:47Z","git_url":"git://github.com/spotify/docker-client.git","ssh_url":"git@github.com:spotify/docker-client.git","clone_url":"https://github.com/spotify/docker-client.git","svn_url":"https://github.com/spotify/docker-client","homepage":"","size":2838,"stargazers_count":104,"watchers_count":104,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":45,"mirror_url":null,"open_issues_count":14,"forks":45,"open_issues":14,"watchers":104,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/spotify/docker-client/pulls/151"},"html":{"href":"https://github.com/spotify/docker-client/pull/151"},"issue":{"href":"https://api.github.com/repos/spotify/docker-client/issues/151"},"comments":{"href":"https://api.github.com/repos/spotify/docker-client/issues/151/comments"},"review_comments":{"href":"https://api.github.com/repos/spotify/docker-client/pulls/151/comments"},"review_comment":{"href":"https://api.github.com/repos/spotify/docker-client/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/spotify/docker-client/pulls/151/commits"},"statuses":{"href":"https://api.github.com/repos/spotify/docker-client/statuses/aa1625251c76801beb2d3610b0e1f01c6926c1df"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":43,"deletions":7,"changed_files":1}}