{"action":"created","comment":{"url":"https://api.github.com/repos/NaisilaPuka/pghero/pulls/comments/212942243","pull_request_review_id":149671278,"id":212942243,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxMjk0MjI0Mw==","diff_hunk":"@@ -1,67 +1,294 @@\n module PgHero\n   module Methods\n     module Tables\n+      include Citus\n+\n       def table_hit_rate\n-        select_one(<<-SQL\n-          SELECT\n-            sum(heap_blks_hit) / nullif(sum(heap_blks_hit) + sum(heap_blks_read), 0) AS rate\n-          FROM\n-            pg_statio_user_tables\n-        SQL\n-        )\n+        if !citus_enabled?\n+          select_one(<<-SQL\n+            SELECT\n+              sum(heap_blks_hit) / nullif(sum(heap_blks_hit) + sum(heap_blks_read), 0) AS rate\n+            FROM\n+              pg_statio_user_tables\n+          SQL\n+          )\n+        else\n+          select_one(<<-SQL\n+            WITH worker_heap_blks_stats_json AS (\n+              SELECT\n+                result::json\n+              FROM\n+                run_command_on_workers($cmd$\n+                SELECT\n+                  json_agg(row_to_json(worker_heap_blks_stats))\n+                FROM\n+                  (\n+                    SELECT\n+                      sum(heap_blks_hit) AS heap_blks_hit,\n+                      sum(heap_blks_read) AS heap_blks_read\n+                    FROM\n+                      pg_statio_user_tables\n+                  )\n+                  worker_heap_blks_stats $cmd$)\n+            )\n+            SELECT\n+              sum(heap_blks_hit) / nullif(sum(heap_blks_hit) + sum(heap_blks_read), 0) AS rate\n+            FROM\n+              (\n+                SELECT\n+                  heap_blks_hit,\n+                  heap_blks_read\n+                FROM\n+                  pg_statio_user_tables\n+                UNION ALL\n+                SELECT\n+                  (json_array_elements(result)->>'heap_blks_hit')::bigint AS heap_blks_hit,\n+                  (json_array_elements(result)->>'heap_blks_read')::bigint AS heap_blks_read\n+                FROM\n+                  worker_heap_blks_stats_json\n+              ) AS cluster_heap_blks_stats\n+          SQL\n+          )\n+        end\n       end\n \n       def table_caching\n-        select_all <<-SQL\n-          SELECT\n-            schemaname AS schema,\n-            relname AS table,\n-            CASE WHEN heap_blks_hit + heap_blks_read = 0 THEN\n-              0\n-            ELSE\n-              ROUND(1.0 * heap_blks_hit / (heap_blks_hit + heap_blks_read), 2)\n-            END AS hit_rate\n-          FROM\n-            pg_statio_user_tables\n-          ORDER BY\n-            2 DESC, 1\n-        SQL\n+        if !citus_enabled?\n+          select_all <<-SQL\n+            SELECT\n+              schemaname AS schema,\n+              relname AS table,\n+              CASE WHEN heap_blks_hit + heap_blks_read = 0 THEN\n+                0\n+              ELSE\n+                ROUND(1.0 * heap_blks_hit / (heap_blks_hit + heap_blks_read), 2)\n+              END AS hit_rate\n+            FROM\n+              pg_statio_user_tables\n+            ORDER BY\n+              2 DESC, 1\n+          SQL\n+        else\n+          select_all <<-SQL\n+            WITH dist_heap_blks_stats AS (\n+              WITH placements_heap_blks_stats AS (\n+                SELECT\n+                  logicalrelid,\n+                  (run_command_on_placements(logicalrelid, $$\n+                    SELECT\n+                      heap_blks_hit AS hit\n+                    FROM\n+                      pg_statio_user_tables\n+                    WHERE\n+                      relid = '%s'::regclass::oid $$ )).result::bigint AS heap_blks_hit,\n+                  (run_command_on_placements(logicalrelid, $$\n+                    SELECT\n+                      heap_blks_read\n+                    FROM\n+                      pg_statio_user_tables\n+                    WHERE\n+                      relid = '%s'::regclass::oid $$ )).result::bigint AS heap_blks_read\n+                FROM\n+                  pg_dist_partition\n+              )\n+              SELECT\n+                n.nspname AS schemaname,\n+                c.relname,\n+                sum(p.heap_blks_hit) AS heap_blks_hit,\n+                sum(p.heap_blks_read) AS heap_blks_read\n+              FROM\n+                placements_heap_blks_stats p\n+                JOIN pg_class c ON p.logicalrelid::oid = c.oid\n+                LEFT JOIN pg_namespace n ON n.oid = c.relnamespace\n+              GROUP BY\n+                2, 1\n+            )\n+            SELECT\n+              schemaname AS schema,\n+              relname AS table,\n+              CASE WHEN heap_blks_hit + heap_blks_read = 0 THEN\n+                0\n+              ELSE\n+                ROUND(1.0 * heap_blks_hit / (heap_blks_hit + heap_blks_read), 2)\n+              END AS hit_rate\n+            FROM (\n+              SELECT\n+                *\n+              FROM\n+                dist_heap_blks_stats\n+              UNION ALL\n+              SELECT\n+                schemaname, relname, heap_blks_hit, heap_blks_read\n+              FROM\n+                pg_statio_user_tables s\n+              WHERE\n+                NOT EXISTS(SELECT * FROM dist_heap_blks_stats WHERE relname = s.relname)\n+            ) all_stats\n+            ORDER BY\n+              2 DESC, 1\n+          SQL\n+        end\n       end\n \n       def unused_tables\n-        select_all <<-SQL\n-          SELECT\n-            schemaname AS schema,\n-            relname AS table,\n-            n_live_tup AS estimated_rows\n-          FROM\n-            pg_stat_user_tables\n-          WHERE\n-            idx_scan = 0\n-          ORDER BY\n-            n_live_tup DESC,\n-            relname ASC\n-         SQL\n+        if !citus_enabled?\n+          select_all <<-SQL\n+            SELECT\n+              schemaname AS schema,\n+              relname AS table,\n+              n_live_tup AS estimated_rows\n+            FROM\n+              pg_stat_user_tables\n+            WHERE\n+              idx_scan = 0\n+            ORDER BY\n+              n_live_tup DESC,\n+              relname ASC\n+           SQL\n+        else\n+          select_all <<-SQL\n+            WITH dist_tables_stats AS (\n+              WITH dist_tables_with_indexes (tablename) AS (\n+                SELECT\n+                  indrelid::regclass\n+                FROM\n+                  pg_index\n+                  JOIN pg_dist_partition ON indrelid = logicalrelid","path":"lib/pghero/methods/tables.rb","position":190,"original_position":190,"commit_id":"eab8353501658bde7bd5f04903dd831b515b1f46","original_commit_id":"eab8353501658bde7bd5f04903dd831b515b1f46","user":{"login":"NaisilaPuka","id":37271756,"node_id":"MDQ6VXNlcjM3MjcxNzU2","avatar_url":"https://avatars0.githubusercontent.com/u/37271756?v=4","gravatar_id":"","url":"https://api.github.com/users/NaisilaPuka","html_url":"https://github.com/NaisilaPuka","followers_url":"https://api.github.com/users/NaisilaPuka/followers","following_url":"https://api.github.com/users/NaisilaPuka/following{/other_user}","gists_url":"https://api.github.com/users/NaisilaPuka/gists{/gist_id}","starred_url":"https://api.github.com/users/NaisilaPuka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NaisilaPuka/subscriptions","organizations_url":"https://api.github.com/users/NaisilaPuka/orgs","repos_url":"https://api.github.com/users/NaisilaPuka/repos","events_url":"https://api.github.com/users/NaisilaPuka/events{/privacy}","received_events_url":"https://api.github.com/users/NaisilaPuka/received_events","type":"User","site_admin":false},"body":"That's a very good point 👍 Will use DISTINCT","created_at":"2018-08-27T11:19:01Z","updated_at":"2018-08-27T11:19:01Z","html_url":"https://github.com/NaisilaPuka/pghero/pull/5#discussion_r212942243","pull_request_url":"https://api.github.com/repos/NaisilaPuka/pghero/pulls/5","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/NaisilaPuka/pghero/pulls/comments/212942243"},"html":{"href":"https://github.com/NaisilaPuka/pghero/pull/5#discussion_r212942243"},"pull_request":{"href":"https://api.github.com/repos/NaisilaPuka/pghero/pulls/5"}},"in_reply_to_id":212917442},"pull_request":{"url":"https://api.github.com/repos/NaisilaPuka/pghero/pulls/5","id":208259037,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA4MjU5MDM3","html_url":"https://github.com/NaisilaPuka/pghero/pull/5","diff_url":"https://github.com/NaisilaPuka/pghero/pull/5.diff","patch_url":"https://github.com/NaisilaPuka/pghero/pull/5.patch","issue_url":"https://api.github.com/repos/NaisilaPuka/pghero/issues/5","number":5,"state":"open","locked":false,"title":"Make tables module methods Citus compatible","user":{"login":"NaisilaPuka","id":37271756,"node_id":"MDQ6VXNlcjM3MjcxNzU2","avatar_url":"https://avatars0.githubusercontent.com/u/37271756?v=4","gravatar_id":"","url":"https://api.github.com/users/NaisilaPuka","html_url":"https://github.com/NaisilaPuka","followers_url":"https://api.github.com/users/NaisilaPuka/followers","following_url":"https://api.github.com/users/NaisilaPuka/following{/other_user}","gists_url":"https://api.github.com/users/NaisilaPuka/gists{/gist_id}","starred_url":"https://api.github.com/users/NaisilaPuka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NaisilaPuka/subscriptions","organizations_url":"https://api.github.com/users/NaisilaPuka/orgs","repos_url":"https://api.github.com/users/NaisilaPuka/repos","events_url":"https://api.github.com/users/NaisilaPuka/events{/privacy}","received_events_url":"https://api.github.com/users/NaisilaPuka/received_events","type":"User","site_admin":false},"body":"I have modified `table_hit_rate`, `table_caching`, `unused_tables` and `table_stats` with an `if else` statement depending on `citus_enabled` variable. I am mostly running command on placements for distributed tables. The methods currently being used in the project are `table_hit_rate` and `table_stats`.","created_at":"2018-08-14T12:06:08Z","updated_at":"2018-08-27T11:19:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"877ee7c3eb96ac6a90111dcbad09110022357c7f","assignee":null,"assignees":[],"requested_reviewers":[{"login":"onderkalaci","id":7829470,"node_id":"MDQ6VXNlcjc4Mjk0NzA=","avatar_url":"https://avatars2.githubusercontent.com/u/7829470?v=4","gravatar_id":"","url":"https://api.github.com/users/onderkalaci","html_url":"https://github.com/onderkalaci","followers_url":"https://api.github.com/users/onderkalaci/followers","following_url":"https://api.github.com/users/onderkalaci/following{/other_user}","gists_url":"https://api.github.com/users/onderkalaci/gists{/gist_id}","starred_url":"https://api.github.com/users/onderkalaci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/onderkalaci/subscriptions","organizations_url":"https://api.github.com/users/onderkalaci/orgs","repos_url":"https://api.github.com/users/onderkalaci/repos","events_url":"https://api.github.com/users/onderkalaci/events{/privacy}","received_events_url":"https://api.github.com/users/onderkalaci/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/NaisilaPuka/pghero/pulls/5/commits","review_comments_url":"https://api.github.com/repos/NaisilaPuka/pghero/pulls/5/comments","review_comment_url":"https://api.github.com/repos/NaisilaPuka/pghero/pulls/comments{/number}","comments_url":"https://api.github.com/repos/NaisilaPuka/pghero/issues/5/comments","statuses_url":"https://api.github.com/repos/NaisilaPuka/pghero/statuses/eab8353501658bde7bd5f04903dd831b515b1f46","head":{"label":"NaisilaPuka:citus_tables_module","ref":"citus_tables_module","sha":"eab8353501658bde7bd5f04903dd831b515b1f46","user":{"login":"NaisilaPuka","id":37271756,"node_id":"MDQ6VXNlcjM3MjcxNzU2","avatar_url":"https://avatars0.githubusercontent.com/u/37271756?v=4","gravatar_id":"","url":"https://api.github.com/users/NaisilaPuka","html_url":"https://github.com/NaisilaPuka","followers_url":"https://api.github.com/users/NaisilaPuka/followers","following_url":"https://api.github.com/users/NaisilaPuka/following{/other_user}","gists_url":"https://api.github.com/users/NaisilaPuka/gists{/gist_id}","starred_url":"https://api.github.com/users/NaisilaPuka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NaisilaPuka/subscriptions","organizations_url":"https://api.github.com/users/NaisilaPuka/orgs","repos_url":"https://api.github.com/users/NaisilaPuka/repos","events_url":"https://api.github.com/users/NaisilaPuka/events{/privacy}","received_events_url":"https://api.github.com/users/NaisilaPuka/received_events","type":"User","site_admin":false},"repo":{"id":138748640,"node_id":"MDEwOlJlcG9zaXRvcnkxMzg3NDg2NDA=","name":"pghero","full_name":"NaisilaPuka/pghero","owner":{"login":"NaisilaPuka","id":37271756,"node_id":"MDQ6VXNlcjM3MjcxNzU2","avatar_url":"https://avatars0.githubusercontent.com/u/37271756?v=4","gravatar_id":"","url":"https://api.github.com/users/NaisilaPuka","html_url":"https://github.com/NaisilaPuka","followers_url":"https://api.github.com/users/NaisilaPuka/followers","following_url":"https://api.github.com/users/NaisilaPuka/following{/other_user}","gists_url":"https://api.github.com/users/NaisilaPuka/gists{/gist_id}","starred_url":"https://api.github.com/users/NaisilaPuka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NaisilaPuka/subscriptions","organizations_url":"https://api.github.com/users/NaisilaPuka/orgs","repos_url":"https://api.github.com/users/NaisilaPuka/repos","events_url":"https://api.github.com/users/NaisilaPuka/events{/privacy}","received_events_url":"https://api.github.com/users/NaisilaPuka/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/NaisilaPuka/pghero","description":"A performance dashboard for Postgres","fork":true,"url":"https://api.github.com/repos/NaisilaPuka/pghero","forks_url":"https://api.github.com/repos/NaisilaPuka/pghero/forks","keys_url":"https://api.github.com/repos/NaisilaPuka/pghero/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NaisilaPuka/pghero/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NaisilaPuka/pghero/teams","hooks_url":"https://api.github.com/repos/NaisilaPuka/pghero/hooks","issue_events_url":"https://api.github.com/repos/NaisilaPuka/pghero/issues/events{/number}","events_url":"https://api.github.com/repos/NaisilaPuka/pghero/events","assignees_url":"https://api.github.com/repos/NaisilaPuka/pghero/assignees{/user}","branches_url":"https://api.github.com/repos/NaisilaPuka/pghero/branches{/branch}","tags_url":"https://api.github.com/repos/NaisilaPuka/pghero/tags","blobs_url":"https://api.github.com/repos/NaisilaPuka/pghero/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NaisilaPuka/pghero/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NaisilaPuka/pghero/git/refs{/sha}","trees_url":"https://api.github.com/repos/NaisilaPuka/pghero/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NaisilaPuka/pghero/statuses/{sha}","languages_url":"https://api.github.com/repos/NaisilaPuka/pghero/languages","stargazers_url":"https://api.github.com/repos/NaisilaPuka/pghero/stargazers","contributors_url":"https://api.github.com/repos/NaisilaPuka/pghero/contributors","subscribers_url":"https://api.github.com/repos/NaisilaPuka/pghero/subscribers","subscription_url":"https://api.github.com/repos/NaisilaPuka/pghero/subscription","commits_url":"https://api.github.com/repos/NaisilaPuka/pghero/commits{/sha}","git_commits_url":"https://api.github.com/repos/NaisilaPuka/pghero/git/commits{/sha}","comments_url":"https://api.github.com/repos/NaisilaPuka/pghero/comments{/number}","issue_comment_url":"https://api.github.com/repos/NaisilaPuka/pghero/issues/comments{/number}","contents_url":"https://api.github.com/repos/NaisilaPuka/pghero/contents/{+path}","compare_url":"https://api.github.com/repos/NaisilaPuka/pghero/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NaisilaPuka/pghero/merges","archive_url":"https://api.github.com/repos/NaisilaPuka/pghero/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NaisilaPuka/pghero/downloads","issues_url":"https://api.github.com/repos/NaisilaPuka/pghero/issues{/number}","pulls_url":"https://api.github.com/repos/NaisilaPuka/pghero/pulls{/number}","milestones_url":"https://api.github.com/repos/NaisilaPuka/pghero/milestones{/number}","notifications_url":"https://api.github.com/repos/NaisilaPuka/pghero/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NaisilaPuka/pghero/labels{/name}","releases_url":"https://api.github.com/repos/NaisilaPuka/pghero/releases{/id}","deployments_url":"https://api.github.com/repos/NaisilaPuka/pghero/deployments","created_at":"2018-06-26T14:18:40Z","updated_at":"2018-08-16T11:44:16Z","pushed_at":"2018-08-27T07:57:26Z","git_url":"git://github.com/NaisilaPuka/pghero.git","ssh_url":"git@github.com:NaisilaPuka/pghero.git","clone_url":"https://github.com/NaisilaPuka/pghero.git","svn_url":"https://github.com/NaisilaPuka/pghero","homepage":"","size":1304,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":3,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"NaisilaPuka:master","ref":"master","sha":"31d5a58d977a5c794b0358f7608ebad984c0ad36","user":{"login":"NaisilaPuka","id":37271756,"node_id":"MDQ6VXNlcjM3MjcxNzU2","avatar_url":"https://avatars0.githubusercontent.com/u/37271756?v=4","gravatar_id":"","url":"https://api.github.com/users/NaisilaPuka","html_url":"https://github.com/NaisilaPuka","followers_url":"https://api.github.com/users/NaisilaPuka/followers","following_url":"https://api.github.com/users/NaisilaPuka/following{/other_user}","gists_url":"https://api.github.com/users/NaisilaPuka/gists{/gist_id}","starred_url":"https://api.github.com/users/NaisilaPuka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NaisilaPuka/subscriptions","organizations_url":"https://api.github.com/users/NaisilaPuka/orgs","repos_url":"https://api.github.com/users/NaisilaPuka/repos","events_url":"https://api.github.com/users/NaisilaPuka/events{/privacy}","received_events_url":"https://api.github.com/users/NaisilaPuka/received_events","type":"User","site_admin":false},"repo":{"id":138748640,"node_id":"MDEwOlJlcG9zaXRvcnkxMzg3NDg2NDA=","name":"pghero","full_name":"NaisilaPuka/pghero","owner":{"login":"NaisilaPuka","id":37271756,"node_id":"MDQ6VXNlcjM3MjcxNzU2","avatar_url":"https://avatars0.githubusercontent.com/u/37271756?v=4","gravatar_id":"","url":"https://api.github.com/users/NaisilaPuka","html_url":"https://github.com/NaisilaPuka","followers_url":"https://api.github.com/users/NaisilaPuka/followers","following_url":"https://api.github.com/users/NaisilaPuka/following{/other_user}","gists_url":"https://api.github.com/users/NaisilaPuka/gists{/gist_id}","starred_url":"https://api.github.com/users/NaisilaPuka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NaisilaPuka/subscriptions","organizations_url":"https://api.github.com/users/NaisilaPuka/orgs","repos_url":"https://api.github.com/users/NaisilaPuka/repos","events_url":"https://api.github.com/users/NaisilaPuka/events{/privacy}","received_events_url":"https://api.github.com/users/NaisilaPuka/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/NaisilaPuka/pghero","description":"A performance dashboard for Postgres","fork":true,"url":"https://api.github.com/repos/NaisilaPuka/pghero","forks_url":"https://api.github.com/repos/NaisilaPuka/pghero/forks","keys_url":"https://api.github.com/repos/NaisilaPuka/pghero/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NaisilaPuka/pghero/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NaisilaPuka/pghero/teams","hooks_url":"https://api.github.com/repos/NaisilaPuka/pghero/hooks","issue_events_url":"https://api.github.com/repos/NaisilaPuka/pghero/issues/events{/number}","events_url":"https://api.github.com/repos/NaisilaPuka/pghero/events","assignees_url":"https://api.github.com/repos/NaisilaPuka/pghero/assignees{/user}","branches_url":"https://api.github.com/repos/NaisilaPuka/pghero/branches{/branch}","tags_url":"https://api.github.com/repos/NaisilaPuka/pghero/tags","blobs_url":"https://api.github.com/repos/NaisilaPuka/pghero/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NaisilaPuka/pghero/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NaisilaPuka/pghero/git/refs{/sha}","trees_url":"https://api.github.com/repos/NaisilaPuka/pghero/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NaisilaPuka/pghero/statuses/{sha}","languages_url":"https://api.github.com/repos/NaisilaPuka/pghero/languages","stargazers_url":"https://api.github.com/repos/NaisilaPuka/pghero/stargazers","contributors_url":"https://api.github.com/repos/NaisilaPuka/pghero/contributors","subscribers_url":"https://api.github.com/repos/NaisilaPuka/pghero/subscribers","subscription_url":"https://api.github.com/repos/NaisilaPuka/pghero/subscription","commits_url":"https://api.github.com/repos/NaisilaPuka/pghero/commits{/sha}","git_commits_url":"https://api.github.com/repos/NaisilaPuka/pghero/git/commits{/sha}","comments_url":"https://api.github.com/repos/NaisilaPuka/pghero/comments{/number}","issue_comment_url":"https://api.github.com/repos/NaisilaPuka/pghero/issues/comments{/number}","contents_url":"https://api.github.com/repos/NaisilaPuka/pghero/contents/{+path}","compare_url":"https://api.github.com/repos/NaisilaPuka/pghero/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NaisilaPuka/pghero/merges","archive_url":"https://api.github.com/repos/NaisilaPuka/pghero/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NaisilaPuka/pghero/downloads","issues_url":"https://api.github.com/repos/NaisilaPuka/pghero/issues{/number}","pulls_url":"https://api.github.com/repos/NaisilaPuka/pghero/pulls{/number}","milestones_url":"https://api.github.com/repos/NaisilaPuka/pghero/milestones{/number}","notifications_url":"https://api.github.com/repos/NaisilaPuka/pghero/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NaisilaPuka/pghero/labels{/name}","releases_url":"https://api.github.com/repos/NaisilaPuka/pghero/releases{/id}","deployments_url":"https://api.github.com/repos/NaisilaPuka/pghero/deployments","created_at":"2018-06-26T14:18:40Z","updated_at":"2018-08-16T11:44:16Z","pushed_at":"2018-08-27T07:57:26Z","git_url":"git://github.com/NaisilaPuka/pghero.git","ssh_url":"git@github.com:NaisilaPuka/pghero.git","clone_url":"https://github.com/NaisilaPuka/pghero.git","svn_url":"https://github.com/NaisilaPuka/pghero","homepage":"","size":1304,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":3,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/NaisilaPuka/pghero/pulls/5"},"html":{"href":"https://github.com/NaisilaPuka/pghero/pull/5"},"issue":{"href":"https://api.github.com/repos/NaisilaPuka/pghero/issues/5"},"comments":{"href":"https://api.github.com/repos/NaisilaPuka/pghero/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/NaisilaPuka/pghero/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/NaisilaPuka/pghero/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/NaisilaPuka/pghero/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/NaisilaPuka/pghero/statuses/eab8353501658bde7bd5f04903dd831b515b1f46"}},"author_association":"OWNER"}}
{"actor":{"display_login":"NaisilaPuka"}}