{"action":"created","comment":{"url":"https://api.github.com/repos/datahuborg/datahub/pulls/comments/59745524","id":59745524,"diff_hunk":"@@ -74,9 +74,9 @@\n   <div class=\"navbar navbar-default navbar-static-bottom text-center\">\n   <div class=\"navbar-footer\">\n     <a href=\"/www/\" class=\"btn navbar-btn\">About</a> &nbsp; &nbsp;\n-    <a href=\"{% static 'docs/html/index.html' %}\" class=\"btn navbar-btn\">API Docs</a> &nbsp; &nbsp;\n+    <a href=\"{% static 'docs/html/index.html' %}\" class=\"btn navbar-btn\">Documentation</a> &nbsp; &nbsp;\n     <a href=\"https://github.com/datahuborg/datahub\" class=\"btn navbar-btn\">GitHub Repo</a> &nbsp; &nbsp;\n-    <a href=\"https://github.com/datahuborg/datahub/tree/master/src/examples\" class=\"btn navbar-btn\">Sample Code</a>\n+    <a href=\"/api-docs\" class=\"btn navbar-btn\">API</a>","path":"src/account/templates/base.html","position":null,"original_position":8,"commit_id":"d1cd92881006fc7f6b104e303fc222c6bd1c48ff","original_commit_id":"a2107173b6bd3c806943c51ec229b2b22cf1eea2","user":{"login":"RogerTangos","id":1609475,"avatar_url":"https://avatars.githubusercontent.com/u/1609475?v=3","gravatar_id":"","url":"https://api.github.com/users/RogerTangos","html_url":"https://github.com/RogerTangos","followers_url":"https://api.github.com/users/RogerTangos/followers","following_url":"https://api.github.com/users/RogerTangos/following{/other_user}","gists_url":"https://api.github.com/users/RogerTangos/gists{/gist_id}","starred_url":"https://api.github.com/users/RogerTangos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RogerTangos/subscriptions","organizations_url":"https://api.github.com/users/RogerTangos/orgs","repos_url":"https://api.github.com/users/RogerTangos/repos","events_url":"https://api.github.com/users/RogerTangos/events{/privacy}","received_events_url":"https://api.github.com/users/RogerTangos/received_events","type":"User","site_admin":false},"body":"d1cd92881006fc7f6b104e303fc222c6bd1c48ff","created_at":"2016-04-14T16:12:49Z","updated_at":"2016-04-14T16:12:49Z","html_url":"https://github.com/datahuborg/datahub/pull/137#discussion_r59745524","pull_request_url":"https://api.github.com/repos/datahuborg/datahub/pulls/137","_links":{"self":{"href":"https://api.github.com/repos/datahuborg/datahub/pulls/comments/59745524"},"html":{"href":"https://github.com/datahuborg/datahub/pull/137#discussion_r59745524"},"pull_request":{"href":"https://api.github.com/repos/datahuborg/datahub/pulls/137"}}},"pull_request":{"url":"https://api.github.com/repos/datahuborg/datahub/pulls/137","id":66488171,"html_url":"https://github.com/datahuborg/datahub/pull/137","diff_url":"https://github.com/datahuborg/datahub/pull/137.diff","patch_url":"https://github.com/datahuborg/datahub/pull/137.patch","issue_url":"https://api.github.com/repos/datahuborg/datahub/issues/137","number":137,"state":"open","locked":false,"title":"Feature/rest public tables into master","user":{"login":"RogerTangos","id":1609475,"avatar_url":"https://avatars.githubusercontent.com/u/1609475?v=3","gravatar_id":"","url":"https://api.github.com/users/RogerTangos","html_url":"https://github.com/RogerTangos","followers_url":"https://api.github.com/users/RogerTangos/followers","following_url":"https://api.github.com/users/RogerTangos/following{/other_user}","gists_url":"https://api.github.com/users/RogerTangos/gists{/gist_id}","starred_url":"https://api.github.com/users/RogerTangos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RogerTangos/subscriptions","organizations_url":"https://api.github.com/users/RogerTangos/orgs","repos_url":"https://api.github.com/users/RogerTangos/repos","events_url":"https://api.github.com/users/RogerTangos/events{/privacy}","received_events_url":"https://api.github.com/users/RogerTangos/received_events","type":"User","site_admin":false},"body":"- Public Repositories\r\n  - Anonymous users can browse/search/query public repositories via the web interface\r\n  - Authenticated users can browse/search/query via the web interface or the REST api\r\n  - Cards can be marked public\r\n\r\n- Public Cards\r\n  - Anonymous/Authenticated users can execute saved queries (cards) through the web interface\r\n  - Authenticated users can also execute cards through the REST api\r\n  - Public cards are _not_ discoverable at the moment. The (non-obfuscated) link must be shared with users\r\n  - Queries in public cards are executed using the database role of the card creator. Whatever they see, others will see\r\n\r\n- Permissions\r\n  - Introduces a new has_file_permissions layer to manager\r\n  - Allows finer grained access control for cards","created_at":"2016-04-14T13:56:49Z","updated_at":"2016-04-14T16:12:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"be0d33db215f779ee92ac3f62220b39ee050d7d7","assignee":{"login":"justinanderson","id":244952,"avatar_url":"https://avatars.githubusercontent.com/u/244952?v=3","gravatar_id":"","url":"https://api.github.com/users/justinanderson","html_url":"https://github.com/justinanderson","followers_url":"https://api.github.com/users/justinanderson/followers","following_url":"https://api.github.com/users/justinanderson/following{/other_user}","gists_url":"https://api.github.com/users/justinanderson/gists{/gist_id}","starred_url":"https://api.github.com/users/justinanderson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justinanderson/subscriptions","organizations_url":"https://api.github.com/users/justinanderson/orgs","repos_url":"https://api.github.com/users/justinanderson/repos","events_url":"https://api.github.com/users/justinanderson/events{/privacy}","received_events_url":"https://api.github.com/users/justinanderson/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/datahuborg/datahub/pulls/137/commits","review_comments_url":"https://api.github.com/repos/datahuborg/datahub/pulls/137/comments","review_comment_url":"https://api.github.com/repos/datahuborg/datahub/pulls/comments{/number}","comments_url":"https://api.github.com/repos/datahuborg/datahub/issues/137/comments","statuses_url":"https://api.github.com/repos/datahuborg/datahub/statuses/d1cd92881006fc7f6b104e303fc222c6bd1c48ff","head":{"label":"datahuborg:feature/rest_public_tables","ref":"feature/rest_public_tables","sha":"d1cd92881006fc7f6b104e303fc222c6bd1c48ff","user":{"login":"datahuborg","id":13371395,"avatar_url":"https://avatars.githubusercontent.com/u/13371395?v=3","gravatar_id":"","url":"https://api.github.com/users/datahuborg","html_url":"https://github.com/datahuborg","followers_url":"https://api.github.com/users/datahuborg/followers","following_url":"https://api.github.com/users/datahuborg/following{/other_user}","gists_url":"https://api.github.com/users/datahuborg/gists{/gist_id}","starred_url":"https://api.github.com/users/datahuborg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/datahuborg/subscriptions","organizations_url":"https://api.github.com/users/datahuborg/orgs","repos_url":"https://api.github.com/users/datahuborg/repos","events_url":"https://api.github.com/users/datahuborg/events{/privacy}","received_events_url":"https://api.github.com/users/datahuborg/received_events","type":"Organization","site_admin":false},"repo":{"id":13134203,"name":"datahub","full_name":"datahuborg/datahub","owner":{"login":"datahuborg","id":13371395,"avatar_url":"https://avatars.githubusercontent.com/u/13371395?v=3","gravatar_id":"","url":"https://api.github.com/users/datahuborg","html_url":"https://github.com/datahuborg","followers_url":"https://api.github.com/users/datahuborg/followers","following_url":"https://api.github.com/users/datahuborg/following{/other_user}","gists_url":"https://api.github.com/users/datahuborg/gists{/gist_id}","starred_url":"https://api.github.com/users/datahuborg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/datahuborg/subscriptions","organizations_url":"https://api.github.com/users/datahuborg/orgs","repos_url":"https://api.github.com/users/datahuborg/repos","events_url":"https://api.github.com/users/datahuborg/events{/privacy}","received_events_url":"https://api.github.com/users/datahuborg/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/datahuborg/datahub","description":"An experimental hosted platform (GitHub-like) for organizing, managing, sharing, collaborating, and making sense of data.","fork":false,"url":"https://api.github.com/repos/datahuborg/datahub","forks_url":"https://api.github.com/repos/datahuborg/datahub/forks","keys_url":"https://api.github.com/repos/datahuborg/datahub/keys{/key_id}","collaborators_url":"https://api.github.com/repos/datahuborg/datahub/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/datahuborg/datahub/teams","hooks_url":"https://api.github.com/repos/datahuborg/datahub/hooks","issue_events_url":"https://api.github.com/repos/datahuborg/datahub/issues/events{/number}","events_url":"https://api.github.com/repos/datahuborg/datahub/events","assignees_url":"https://api.github.com/repos/datahuborg/datahub/assignees{/user}","branches_url":"https://api.github.com/repos/datahuborg/datahub/branches{/branch}","tags_url":"https://api.github.com/repos/datahuborg/datahub/tags","blobs_url":"https://api.github.com/repos/datahuborg/datahub/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/datahuborg/datahub/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/datahuborg/datahub/git/refs{/sha}","trees_url":"https://api.github.com/repos/datahuborg/datahub/git/trees{/sha}","statuses_url":"https://api.github.com/repos/datahuborg/datahub/statuses/{sha}","languages_url":"https://api.github.com/repos/datahuborg/datahub/languages","stargazers_url":"https://api.github.com/repos/datahuborg/datahub/stargazers","contributors_url":"https://api.github.com/repos/datahuborg/datahub/contributors","subscribers_url":"https://api.github.com/repos/datahuborg/datahub/subscribers","subscription_url":"https://api.github.com/repos/datahuborg/datahub/subscription","commits_url":"https://api.github.com/repos/datahuborg/datahub/commits{/sha}","git_commits_url":"https://api.github.com/repos/datahuborg/datahub/git/commits{/sha}","comments_url":"https://api.github.com/repos/datahuborg/datahub/comments{/number}","issue_comment_url":"https://api.github.com/repos/datahuborg/datahub/issues/comments{/number}","contents_url":"https://api.github.com/repos/datahuborg/datahub/contents/{+path}","compare_url":"https://api.github.com/repos/datahuborg/datahub/compare/{base}...{head}","merges_url":"https://api.github.com/repos/datahuborg/datahub/merges","archive_url":"https://api.github.com/repos/datahuborg/datahub/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/datahuborg/datahub/downloads","issues_url":"https://api.github.com/repos/datahuborg/datahub/issues{/number}","pulls_url":"https://api.github.com/repos/datahuborg/datahub/pulls{/number}","milestones_url":"https://api.github.com/repos/datahuborg/datahub/milestones{/number}","notifications_url":"https://api.github.com/repos/datahuborg/datahub/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/datahuborg/datahub/labels{/name}","releases_url":"https://api.github.com/repos/datahuborg/datahub/releases{/id}","deployments_url":"https://api.github.com/repos/datahuborg/datahub/deployments","created_at":"2013-09-26T21:01:48Z","updated_at":"2016-03-31T00:36:03Z","pushed_at":"2016-04-14T15:59:13Z","git_url":"git://github.com/datahuborg/datahub.git","ssh_url":"git@github.com:datahuborg/datahub.git","clone_url":"https://github.com/datahuborg/datahub.git","svn_url":"https://github.com/datahuborg/datahub","homepage":"http://datahub.csail.mit.edu","size":26059,"stargazers_count":62,"watchers_count":62,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":18,"mirror_url":null,"open_issues_count":20,"forks":18,"open_issues":20,"watchers":62,"default_branch":"master"}},"base":{"label":"datahuborg:master","ref":"master","sha":"9c2ba9a7af20cc6959941a3e708f87e962a501d2","user":{"login":"datahuborg","id":13371395,"avatar_url":"https://avatars.githubusercontent.com/u/13371395?v=3","gravatar_id":"","url":"https://api.github.com/users/datahuborg","html_url":"https://github.com/datahuborg","followers_url":"https://api.github.com/users/datahuborg/followers","following_url":"https://api.github.com/users/datahuborg/following{/other_user}","gists_url":"https://api.github.com/users/datahuborg/gists{/gist_id}","starred_url":"https://api.github.com/users/datahuborg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/datahuborg/subscriptions","organizations_url":"https://api.github.com/users/datahuborg/orgs","repos_url":"https://api.github.com/users/datahuborg/repos","events_url":"https://api.github.com/users/datahuborg/events{/privacy}","received_events_url":"https://api.github.com/users/datahuborg/received_events","type":"Organization","site_admin":false},"repo":{"id":13134203,"name":"datahub","full_name":"datahuborg/datahub","owner":{"login":"datahuborg","id":13371395,"avatar_url":"https://avatars.githubusercontent.com/u/13371395?v=3","gravatar_id":"","url":"https://api.github.com/users/datahuborg","html_url":"https://github.com/datahuborg","followers_url":"https://api.github.com/users/datahuborg/followers","following_url":"https://api.github.com/users/datahuborg/following{/other_user}","gists_url":"https://api.github.com/users/datahuborg/gists{/gist_id}","starred_url":"https://api.github.com/users/datahuborg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/datahuborg/subscriptions","organizations_url":"https://api.github.com/users/datahuborg/orgs","repos_url":"https://api.github.com/users/datahuborg/repos","events_url":"https://api.github.com/users/datahuborg/events{/privacy}","received_events_url":"https://api.github.com/users/datahuborg/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/datahuborg/datahub","description":"An experimental hosted platform (GitHub-like) for organizing, managing, sharing, collaborating, and making sense of data.","fork":false,"url":"https://api.github.com/repos/datahuborg/datahub","forks_url":"https://api.github.com/repos/datahuborg/datahub/forks","keys_url":"https://api.github.com/repos/datahuborg/datahub/keys{/key_id}","collaborators_url":"https://api.github.com/repos/datahuborg/datahub/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/datahuborg/datahub/teams","hooks_url":"https://api.github.com/repos/datahuborg/datahub/hooks","issue_events_url":"https://api.github.com/repos/datahuborg/datahub/issues/events{/number}","events_url":"https://api.github.com/repos/datahuborg/datahub/events","assignees_url":"https://api.github.com/repos/datahuborg/datahub/assignees{/user}","branches_url":"https://api.github.com/repos/datahuborg/datahub/branches{/branch}","tags_url":"https://api.github.com/repos/datahuborg/datahub/tags","blobs_url":"https://api.github.com/repos/datahuborg/datahub/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/datahuborg/datahub/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/datahuborg/datahub/git/refs{/sha}","trees_url":"https://api.github.com/repos/datahuborg/datahub/git/trees{/sha}","statuses_url":"https://api.github.com/repos/datahuborg/datahub/statuses/{sha}","languages_url":"https://api.github.com/repos/datahuborg/datahub/languages","stargazers_url":"https://api.github.com/repos/datahuborg/datahub/stargazers","contributors_url":"https://api.github.com/repos/datahuborg/datahub/contributors","subscribers_url":"https://api.github.com/repos/datahuborg/datahub/subscribers","subscription_url":"https://api.github.com/repos/datahuborg/datahub/subscription","commits_url":"https://api.github.com/repos/datahuborg/datahub/commits{/sha}","git_commits_url":"https://api.github.com/repos/datahuborg/datahub/git/commits{/sha}","comments_url":"https://api.github.com/repos/datahuborg/datahub/comments{/number}","issue_comment_url":"https://api.github.com/repos/datahuborg/datahub/issues/comments{/number}","contents_url":"https://api.github.com/repos/datahuborg/datahub/contents/{+path}","compare_url":"https://api.github.com/repos/datahuborg/datahub/compare/{base}...{head}","merges_url":"https://api.github.com/repos/datahuborg/datahub/merges","archive_url":"https://api.github.com/repos/datahuborg/datahub/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/datahuborg/datahub/downloads","issues_url":"https://api.github.com/repos/datahuborg/datahub/issues{/number}","pulls_url":"https://api.github.com/repos/datahuborg/datahub/pulls{/number}","milestones_url":"https://api.github.com/repos/datahuborg/datahub/milestones{/number}","notifications_url":"https://api.github.com/repos/datahuborg/datahub/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/datahuborg/datahub/labels{/name}","releases_url":"https://api.github.com/repos/datahuborg/datahub/releases{/id}","deployments_url":"https://api.github.com/repos/datahuborg/datahub/deployments","created_at":"2013-09-26T21:01:48Z","updated_at":"2016-03-31T00:36:03Z","pushed_at":"2016-04-14T15:59:13Z","git_url":"git://github.com/datahuborg/datahub.git","ssh_url":"git@github.com:datahuborg/datahub.git","clone_url":"https://github.com/datahuborg/datahub.git","svn_url":"https://github.com/datahuborg/datahub","homepage":"http://datahub.csail.mit.edu","size":26059,"stargazers_count":62,"watchers_count":62,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":18,"mirror_url":null,"open_issues_count":20,"forks":18,"open_issues":20,"watchers":62,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/datahuborg/datahub/pulls/137"},"html":{"href":"https://github.com/datahuborg/datahub/pull/137"},"issue":{"href":"https://api.github.com/repos/datahuborg/datahub/issues/137"},"comments":{"href":"https://api.github.com/repos/datahuborg/datahub/issues/137/comments"},"review_comments":{"href":"https://api.github.com/repos/datahuborg/datahub/pulls/137/comments"},"review_comment":{"href":"https://api.github.com/repos/datahuborg/datahub/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/datahuborg/datahub/pulls/137/commits"},"statuses":{"href":"https://api.github.com/repos/datahuborg/datahub/statuses/d1cd92881006fc7f6b104e303fc222c6bd1c48ff"}}}}