{"action":"created","comment":{"url":"https://api.github.com/repos/aldryn/aldryn-client/pulls/comments/40172884","id":40172884,"diff_hunk":"@@ -71,12 +71,13 @@ def project_list(obj):\n \n     projects = [(\n         project_data['id'],\n+        project_data['domain'],\n         project_data['name'],\n         organisations.get(project_data['organisation_id'], 'Personal'),\n     ) for project_data in data['websites']]\n \n-    header = ['ID', 'Name', 'Organisation']\n-    click.echo(table(projects, header))\n+    header = ['#', 'ID', 'Name', 'Organisation']","path":"aldryn_client/cli.py","position":11,"original_position":11,"commit_id":"bcc84dd0b099b63b82827189407d9a66d01bbff0","original_commit_id":"bcc84dd0b099b63b82827189407d9a66d01bbff0","user":{"login":"GaretJax","id":86236,"avatar_url":"https://avatars.githubusercontent.com/u/86236?v=3","gravatar_id":"","url":"https://api.github.com/users/GaretJax","html_url":"https://github.com/GaretJax","followers_url":"https://api.github.com/users/GaretJax/followers","following_url":"https://api.github.com/users/GaretJax/following{/other_user}","gists_url":"https://api.github.com/users/GaretJax/gists{/gist_id}","starred_url":"https://api.github.com/users/GaretJax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GaretJax/subscriptions","organizations_url":"https://api.github.com/users/GaretJax/orgs","repos_url":"https://api.github.com/users/GaretJax/repos","events_url":"https://api.github.com/users/GaretJax/events{/privacy}","received_events_url":"https://api.github.com/users/GaretJax/received_events","type":"User","site_admin":false},"body":"So the domain is the new ID?","created_at":"2015-09-23T05:58:26Z","updated_at":"2015-09-23T05:58:26Z","html_url":"https://github.com/aldryn/aldryn-client/pull/53#discussion_r40172884","pull_request_url":"https://api.github.com/repos/aldryn/aldryn-client/pulls/53","_links":{"self":{"href":"https://api.github.com/repos/aldryn/aldryn-client/pulls/comments/40172884"},"html":{"href":"https://github.com/aldryn/aldryn-client/pull/53#discussion_r40172884"},"pull_request":{"href":"https://api.github.com/repos/aldryn/aldryn-client/pulls/53"}}},"pull_request":{"url":"https://api.github.com/repos/aldryn/aldryn-client/pulls/53","id":45736734,"html_url":"https://github.com/aldryn/aldryn-client/pull/53","diff_url":"https://github.com/aldryn/aldryn-client/pull/53.diff","patch_url":"https://github.com/aldryn/aldryn-client/pull/53.patch","issue_url":"https://api.github.com/repos/aldryn/aldryn-client/issues/53","number":53,"state":"open","locked":false,"title":"helper for website ID <-> domain/slug","user":{"login":"Chive","id":2700360,"avatar_url":"https://avatars.githubusercontent.com/u/2700360?v=3","gravatar_id":"","url":"https://api.github.com/users/Chive","html_url":"https://github.com/Chive","followers_url":"https://api.github.com/users/Chive/followers","following_url":"https://api.github.com/users/Chive/following{/other_user}","gists_url":"https://api.github.com/users/Chive/gists{/gist_id}","starred_url":"https://api.github.com/users/Chive/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Chive/subscriptions","organizations_url":"https://api.github.com/users/Chive/orgs","repos_url":"https://api.github.com/users/Chive/repos","events_url":"https://api.github.com/users/Chive/events{/privacy}","received_events_url":"https://api.github.com/users/Chive/received_events","type":"User","site_admin":false},"body":"Allows traversal through the control panel api from website ``domain / slug`` to ``id`` and vice versa.\r\n\r\nAlso includes an update in the project list view + adds a pager there.","created_at":"2015-09-23T01:39:23Z","updated_at":"2015-09-23T05:58:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"00eb63b6c485a2867d4685d4ecbfb198fe3be154","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/aldryn/aldryn-client/pulls/53/commits","review_comments_url":"https://api.github.com/repos/aldryn/aldryn-client/pulls/53/comments","review_comment_url":"https://api.github.com/repos/aldryn/aldryn-client/pulls/comments{/number}","comments_url":"https://api.github.com/repos/aldryn/aldryn-client/issues/53/comments","statuses_url":"https://api.github.com/repos/aldryn/aldryn-client/statuses/bcc84dd0b099b63b82827189407d9a66d01bbff0","head":{"label":"aldryn:feature/slug-to-id","ref":"feature/slug-to-id","sha":"bcc84dd0b099b63b82827189407d9a66d01bbff0","user":{"login":"aldryn","id":4201738,"avatar_url":"https://avatars.githubusercontent.com/u/4201738?v=3","gravatar_id":"","url":"https://api.github.com/users/aldryn","html_url":"https://github.com/aldryn","followers_url":"https://api.github.com/users/aldryn/followers","following_url":"https://api.github.com/users/aldryn/following{/other_user}","gists_url":"https://api.github.com/users/aldryn/gists{/gist_id}","starred_url":"https://api.github.com/users/aldryn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aldryn/subscriptions","organizations_url":"https://api.github.com/users/aldryn/orgs","repos_url":"https://api.github.com/users/aldryn/repos","events_url":"https://api.github.com/users/aldryn/events{/privacy}","received_events_url":"https://api.github.com/users/aldryn/received_events","type":"Organization","site_admin":false},"repo":{"id":6941987,"name":"aldryn-client","full_name":"aldryn/aldryn-client","owner":{"login":"aldryn","id":4201738,"avatar_url":"https://avatars.githubusercontent.com/u/4201738?v=3","gravatar_id":"","url":"https://api.github.com/users/aldryn","html_url":"https://github.com/aldryn","followers_url":"https://api.github.com/users/aldryn/followers","following_url":"https://api.github.com/users/aldryn/following{/other_user}","gists_url":"https://api.github.com/users/aldryn/gists{/gist_id}","starred_url":"https://api.github.com/users/aldryn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aldryn/subscriptions","organizations_url":"https://api.github.com/users/aldryn/orgs","repos_url":"https://api.github.com/users/aldryn/repos","events_url":"https://api.github.com/users/aldryn/events{/privacy}","received_events_url":"https://api.github.com/users/aldryn/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/aldryn/aldryn-client","description":"Commandline client for Aldryn","fork":false,"url":"https://api.github.com/repos/aldryn/aldryn-client","forks_url":"https://api.github.com/repos/aldryn/aldryn-client/forks","keys_url":"https://api.github.com/repos/aldryn/aldryn-client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aldryn/aldryn-client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aldryn/aldryn-client/teams","hooks_url":"https://api.github.com/repos/aldryn/aldryn-client/hooks","issue_events_url":"https://api.github.com/repos/aldryn/aldryn-client/issues/events{/number}","events_url":"https://api.github.com/repos/aldryn/aldryn-client/events","assignees_url":"https://api.github.com/repos/aldryn/aldryn-client/assignees{/user}","branches_url":"https://api.github.com/repos/aldryn/aldryn-client/branches{/branch}","tags_url":"https://api.github.com/repos/aldryn/aldryn-client/tags","blobs_url":"https://api.github.com/repos/aldryn/aldryn-client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aldryn/aldryn-client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aldryn/aldryn-client/git/refs{/sha}","trees_url":"https://api.github.com/repos/aldryn/aldryn-client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aldryn/aldryn-client/statuses/{sha}","languages_url":"https://api.github.com/repos/aldryn/aldryn-client/languages","stargazers_url":"https://api.github.com/repos/aldryn/aldryn-client/stargazers","contributors_url":"https://api.github.com/repos/aldryn/aldryn-client/contributors","subscribers_url":"https://api.github.com/repos/aldryn/aldryn-client/subscribers","subscription_url":"https://api.github.com/repos/aldryn/aldryn-client/subscription","commits_url":"https://api.github.com/repos/aldryn/aldryn-client/commits{/sha}","git_commits_url":"https://api.github.com/repos/aldryn/aldryn-client/git/commits{/sha}","comments_url":"https://api.github.com/repos/aldryn/aldryn-client/comments{/number}","issue_comment_url":"https://api.github.com/repos/aldryn/aldryn-client/issues/comments{/number}","contents_url":"https://api.github.com/repos/aldryn/aldryn-client/contents/{+path}","compare_url":"https://api.github.com/repos/aldryn/aldryn-client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aldryn/aldryn-client/merges","archive_url":"https://api.github.com/repos/aldryn/aldryn-client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aldryn/aldryn-client/downloads","issues_url":"https://api.github.com/repos/aldryn/aldryn-client/issues{/number}","pulls_url":"https://api.github.com/repos/aldryn/aldryn-client/pulls{/number}","milestones_url":"https://api.github.com/repos/aldryn/aldryn-client/milestones{/number}","notifications_url":"https://api.github.com/repos/aldryn/aldryn-client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aldryn/aldryn-client/labels{/name}","releases_url":"https://api.github.com/repos/aldryn/aldryn-client/releases{/id}","created_at":"2012-11-30T16:25:38Z","updated_at":"2015-04-07T12:36:38Z","pushed_at":"2015-09-23T01:57:21Z","git_url":"git://github.com/aldryn/aldryn-client.git","ssh_url":"git@github.com:aldryn/aldryn-client.git","clone_url":"https://github.com/aldryn/aldryn-client.git","svn_url":"https://github.com/aldryn/aldryn-client","homepage":"http://www.aldryn.com","size":78916,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":11,"forks":3,"open_issues":11,"watchers":1,"default_branch":"master"}},"base":{"label":"aldryn:v2","ref":"v2","sha":"6aa48b895f6957849b535f29cf9c66e351083c2f","user":{"login":"aldryn","id":4201738,"avatar_url":"https://avatars.githubusercontent.com/u/4201738?v=3","gravatar_id":"","url":"https://api.github.com/users/aldryn","html_url":"https://github.com/aldryn","followers_url":"https://api.github.com/users/aldryn/followers","following_url":"https://api.github.com/users/aldryn/following{/other_user}","gists_url":"https://api.github.com/users/aldryn/gists{/gist_id}","starred_url":"https://api.github.com/users/aldryn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aldryn/subscriptions","organizations_url":"https://api.github.com/users/aldryn/orgs","repos_url":"https://api.github.com/users/aldryn/repos","events_url":"https://api.github.com/users/aldryn/events{/privacy}","received_events_url":"https://api.github.com/users/aldryn/received_events","type":"Organization","site_admin":false},"repo":{"id":6941987,"name":"aldryn-client","full_name":"aldryn/aldryn-client","owner":{"login":"aldryn","id":4201738,"avatar_url":"https://avatars.githubusercontent.com/u/4201738?v=3","gravatar_id":"","url":"https://api.github.com/users/aldryn","html_url":"https://github.com/aldryn","followers_url":"https://api.github.com/users/aldryn/followers","following_url":"https://api.github.com/users/aldryn/following{/other_user}","gists_url":"https://api.github.com/users/aldryn/gists{/gist_id}","starred_url":"https://api.github.com/users/aldryn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aldryn/subscriptions","organizations_url":"https://api.github.com/users/aldryn/orgs","repos_url":"https://api.github.com/users/aldryn/repos","events_url":"https://api.github.com/users/aldryn/events{/privacy}","received_events_url":"https://api.github.com/users/aldryn/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/aldryn/aldryn-client","description":"Commandline client for Aldryn","fork":false,"url":"https://api.github.com/repos/aldryn/aldryn-client","forks_url":"https://api.github.com/repos/aldryn/aldryn-client/forks","keys_url":"https://api.github.com/repos/aldryn/aldryn-client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aldryn/aldryn-client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aldryn/aldryn-client/teams","hooks_url":"https://api.github.com/repos/aldryn/aldryn-client/hooks","issue_events_url":"https://api.github.com/repos/aldryn/aldryn-client/issues/events{/number}","events_url":"https://api.github.com/repos/aldryn/aldryn-client/events","assignees_url":"https://api.github.com/repos/aldryn/aldryn-client/assignees{/user}","branches_url":"https://api.github.com/repos/aldryn/aldryn-client/branches{/branch}","tags_url":"https://api.github.com/repos/aldryn/aldryn-client/tags","blobs_url":"https://api.github.com/repos/aldryn/aldryn-client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aldryn/aldryn-client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aldryn/aldryn-client/git/refs{/sha}","trees_url":"https://api.github.com/repos/aldryn/aldryn-client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aldryn/aldryn-client/statuses/{sha}","languages_url":"https://api.github.com/repos/aldryn/aldryn-client/languages","stargazers_url":"https://api.github.com/repos/aldryn/aldryn-client/stargazers","contributors_url":"https://api.github.com/repos/aldryn/aldryn-client/contributors","subscribers_url":"https://api.github.com/repos/aldryn/aldryn-client/subscribers","subscription_url":"https://api.github.com/repos/aldryn/aldryn-client/subscription","commits_url":"https://api.github.com/repos/aldryn/aldryn-client/commits{/sha}","git_commits_url":"https://api.github.com/repos/aldryn/aldryn-client/git/commits{/sha}","comments_url":"https://api.github.com/repos/aldryn/aldryn-client/comments{/number}","issue_comment_url":"https://api.github.com/repos/aldryn/aldryn-client/issues/comments{/number}","contents_url":"https://api.github.com/repos/aldryn/aldryn-client/contents/{+path}","compare_url":"https://api.github.com/repos/aldryn/aldryn-client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aldryn/aldryn-client/merges","archive_url":"https://api.github.com/repos/aldryn/aldryn-client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aldryn/aldryn-client/downloads","issues_url":"https://api.github.com/repos/aldryn/aldryn-client/issues{/number}","pulls_url":"https://api.github.com/repos/aldryn/aldryn-client/pulls{/number}","milestones_url":"https://api.github.com/repos/aldryn/aldryn-client/milestones{/number}","notifications_url":"https://api.github.com/repos/aldryn/aldryn-client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aldryn/aldryn-client/labels{/name}","releases_url":"https://api.github.com/repos/aldryn/aldryn-client/releases{/id}","created_at":"2012-11-30T16:25:38Z","updated_at":"2015-04-07T12:36:38Z","pushed_at":"2015-09-23T01:57:21Z","git_url":"git://github.com/aldryn/aldryn-client.git","ssh_url":"git@github.com:aldryn/aldryn-client.git","clone_url":"https://github.com/aldryn/aldryn-client.git","svn_url":"https://github.com/aldryn/aldryn-client","homepage":"http://www.aldryn.com","size":78916,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":11,"forks":3,"open_issues":11,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/aldryn/aldryn-client/pulls/53"},"html":{"href":"https://github.com/aldryn/aldryn-client/pull/53"},"issue":{"href":"https://api.github.com/repos/aldryn/aldryn-client/issues/53"},"comments":{"href":"https://api.github.com/repos/aldryn/aldryn-client/issues/53/comments"},"review_comments":{"href":"https://api.github.com/repos/aldryn/aldryn-client/pulls/53/comments"},"review_comment":{"href":"https://api.github.com/repos/aldryn/aldryn-client/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/aldryn/aldryn-client/pulls/53/commits"},"statuses":{"href":"https://api.github.com/repos/aldryn/aldryn-client/statuses/bcc84dd0b099b63b82827189407d9a66d01bbff0"}}}}