{"action":"created","comment":{"url":"https://api.github.com/repos/refinery-platform/refinery-platform/pulls/comments/179632860","pull_request_review_id":109915797,"id":179632860,"diff_hunk":"@@ -2213,3 +2220,87 @@ class SiteProfile(models.Model):\n \n     def __unicode__(self):\n         return self.site.name\n+\n+\n+class SiteStatistics(models.Model):\n+    \"\"\"\n+    A model to encapsulate various information about a deployed Refinery\n+    Instance's utilization.\n+    \"\"\"\n+    datasets_shared = models.IntegerField()\n+    datasets_uploaded = models.IntegerField()\n+    groups_created = models.IntegerField()\n+    run_date = models.DateTimeField()\n+    total_user_logins = models.IntegerField()\n+    total_visualization_launches = models.IntegerField()\n+    total_workflow_launches = models.IntegerField()\n+    users_created = models.IntegerField()\n+    unique_user_logins = models.IntegerField()\n+\n+    class Meta:\n+        verbose_name_plural = \"site statistics\"\n+\n+    def save(self, force_insert=False, force_update=False, using=None,\n+             update_fields=None):\n+        self.run_date = timezone.now()\n+        self.datasets_uploaded = self._get_datasets_uploaded().count()\n+        self.datasets_shared = len(self._get_datasets_shared())\n+        self.groups_created = self._get_number_of_groups_created()\n+        self.users_created = self._get_users_created().count()\n+        self.unique_user_logins = self._get_unique_user_logins().count()\n+        self.total_user_logins = self._get_number_of_total_user_logins()\n+        self.total_workflow_launches = \\\n+            self._get_total_workflow_launches().count()\n+        self.total_visualization_launches = \\\n+            self._get_total_visualization_launches().count()\n+        super(SiteStatistics, self).save()\n+\n+    def _get_previous_instance(self):\n+        previous_instance = SiteStatistics.objects.filter(\n+            run_date__lt=self.run_date\n+        ).order_by('-run_date').first()\n+\n+        # Return the previous instance by run_date, or the current instance\n+        # if a prior one doesn't exist\n+        return previous_instance or self\n+\n+    def _get_datasets_shared(self):\n+        return [\n+            dataset for dataset in DataSet.objects.filter(\n+                modification_date__gte=self._get_previous_instance().run_date\n+            ) if dataset.shared\n+        ]\n+\n+    def _get_datasets_uploaded(self):\n+        return DataSet.objects.filter(\n+            creation_date__gte=self._get_previous_instance().run_date\n+        )\n+\n+    def _get_total_visualization_launches(self):\n+        return tool_manager.models.VisualizationTool.objects.filter(\n+            creation_date__gte=self._get_previous_instance().run_date\n+        )\n+\n+    def _get_total_workflow_launches(self):\n+        return tool_manager.models.WorkflowTool.objects.filter(\n+            creation_date__gte=self._get_previous_instance().run_date\n+        )\n+\n+    def _get_unique_user_logins(self):\n+        return User.objects.filter(\n+            last_login__gte=self._get_previous_instance().run_date","path":"refinery/core/models.py","position":131,"original_position":131,"commit_id":"3932454523bfca6aff7abc2653a0bc4f731ad34c","original_commit_id":"3932454523bfca6aff7abc2653a0bc4f731ad34c","user":{"login":"scottx611x","id":5629547,"avatar_url":"https://avatars2.githubusercontent.com/u/5629547?v=4","gravatar_id":"","url":"https://api.github.com/users/scottx611x","html_url":"https://github.com/scottx611x","followers_url":"https://api.github.com/users/scottx611x/followers","following_url":"https://api.github.com/users/scottx611x/following{/other_user}","gists_url":"https://api.github.com/users/scottx611x/gists{/gist_id}","starred_url":"https://api.github.com/users/scottx611x/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scottx611x/subscriptions","organizations_url":"https://api.github.com/users/scottx611x/orgs","repos_url":"https://api.github.com/users/scottx611x/repos","events_url":"https://api.github.com/users/scottx611x/events{/privacy}","received_events_url":"https://api.github.com/users/scottx611x/received_events","type":"User","site_admin":false},"body":"It was a metric that I was asked to collect here: https://github.com/refinery-platform/refinery-platform/issues/2694#issue-308064403","created_at":"2018-04-06T00:09:22Z","updated_at":"2018-04-06T00:09:22Z","html_url":"https://github.com/refinery-platform/refinery-platform/pull/2704#discussion_r179632860","pull_request_url":"https://api.github.com/repos/refinery-platform/refinery-platform/pulls/2704","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/refinery-platform/refinery-platform/pulls/comments/179632860"},"html":{"href":"https://github.com/refinery-platform/refinery-platform/pull/2704#discussion_r179632860"},"pull_request":{"href":"https://api.github.com/repos/refinery-platform/refinery-platform/pulls/2704"}},"in_reply_to_id":179618143},"pull_request":{"url":"https://api.github.com/repos/refinery-platform/refinery-platform/pulls/2704","id":178057924,"html_url":"https://github.com/refinery-platform/refinery-platform/pull/2704","diff_url":"https://github.com/refinery-platform/refinery-platform/pull/2704.diff","patch_url":"https://github.com/refinery-platform/refinery-platform/pull/2704.patch","issue_url":"https://api.github.com/repos/refinery-platform/refinery-platform/issues/2704","number":2704,"state":"open","locked":false,"title":"Scottx611x/collect stats","user":{"login":"scottx611x","id":5629547,"avatar_url":"https://avatars2.githubusercontent.com/u/5629547?v=4","gravatar_id":"","url":"https://api.github.com/users/scottx611x","html_url":"https://github.com/scottx611x","followers_url":"https://api.github.com/users/scottx611x/followers","following_url":"https://api.github.com/users/scottx611x/following{/other_user}","gists_url":"https://api.github.com/users/scottx611x/gists{/gist_id}","starred_url":"https://api.github.com/users/scottx611x/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scottx611x/subscriptions","organizations_url":"https://api.github.com/users/scottx611x/orgs","repos_url":"https://api.github.com/users/scottx611x/repos","events_url":"https://api.github.com/users/scottx611x/events{/privacy}","received_events_url":"https://api.github.com/users/scottx611x/received_events","type":"User","site_admin":false},"body":"Resolves #2694 \r\n\r\nThings to note:\r\n- `ExtendedGroup` creation currently has a `post_save` signal handler that runs `core.models.create_manager_group` so the `groups_created` metric will always be 2x (I don't think this is what we want)\r\n  - [x] Exclude `manager` groups\r\n- We currently have no notion of a `User` being a `Core Consultant`\r\n  - This doesn't matter for now\r\n- There are probably some edge cases when/if `Users` get deleted because this could skew things like: `total_user_logins`\r\n- [x] Run this script daily\r\n- The collected information is currently available through the admin ui, but I'm not sure if anything more is expected. Maybe an admin_only view?\r\n  - Maybe in the future, numbers are fine for now","created_at":"2018-03-28T14:29:30Z","updated_at":"2018-04-06T00:09:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6a5b096c482d366db8feccb594c7d8189b2d781a","assignee":null,"assignees":[],"requested_reviewers":[{"login":"mccalluc","id":730388,"avatar_url":"https://avatars2.githubusercontent.com/u/730388?v=4","gravatar_id":"","url":"https://api.github.com/users/mccalluc","html_url":"https://github.com/mccalluc","followers_url":"https://api.github.com/users/mccalluc/followers","following_url":"https://api.github.com/users/mccalluc/following{/other_user}","gists_url":"https://api.github.com/users/mccalluc/gists{/gist_id}","starred_url":"https://api.github.com/users/mccalluc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mccalluc/subscriptions","organizations_url":"https://api.github.com/users/mccalluc/orgs","repos_url":"https://api.github.com/users/mccalluc/repos","events_url":"https://api.github.com/users/mccalluc/events{/privacy}","received_events_url":"https://api.github.com/users/mccalluc/received_events","type":"User","site_admin":false},{"login":"jkmarx","id":9956764,"avatar_url":"https://avatars3.githubusercontent.com/u/9956764?v=4","gravatar_id":"","url":"https://api.github.com/users/jkmarx","html_url":"https://github.com/jkmarx","followers_url":"https://api.github.com/users/jkmarx/followers","following_url":"https://api.github.com/users/jkmarx/following{/other_user}","gists_url":"https://api.github.com/users/jkmarx/gists{/gist_id}","starred_url":"https://api.github.com/users/jkmarx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jkmarx/subscriptions","organizations_url":"https://api.github.com/users/jkmarx/orgs","repos_url":"https://api.github.com/users/jkmarx/repos","events_url":"https://api.github.com/users/jkmarx/events{/privacy}","received_events_url":"https://api.github.com/users/jkmarx/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":{"url":"https://api.github.com/repos/refinery-platform/refinery-platform/milestones/53","html_url":"https://github.com/refinery-platform/refinery-platform/milestone/53","labels_url":"https://api.github.com/repos/refinery-platform/refinery-platform/milestones/53/labels","id":3202931,"number":53,"title":"Release 1.6.4","description":"Implementation of beta version of new dashboard ui code & design. Stretch goal of ui mockups for metadata editing. Code to periodically collect site statistics. Apis for metadata editing. Development/deployment of a new vis tool wrapping Taggle.","creator":{"login":"jkmarx","id":9956764,"avatar_url":"https://avatars3.githubusercontent.com/u/9956764?v=4","gravatar_id":"","url":"https://api.github.com/users/jkmarx","html_url":"https://github.com/jkmarx","followers_url":"https://api.github.com/users/jkmarx/followers","following_url":"https://api.github.com/users/jkmarx/following{/other_user}","gists_url":"https://api.github.com/users/jkmarx/gists{/gist_id}","starred_url":"https://api.github.com/users/jkmarx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jkmarx/subscriptions","organizations_url":"https://api.github.com/users/jkmarx/orgs","repos_url":"https://api.github.com/users/jkmarx/repos","events_url":"https://api.github.com/users/jkmarx/events{/privacy}","received_events_url":"https://api.github.com/users/jkmarx/received_events","type":"User","site_admin":false},"open_issues":24,"closed_issues":4,"state":"open","created_at":"2018-03-20T12:31:08Z","updated_at":"2018-04-05T21:36:56Z","due_on":"2018-04-20T07:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/refinery-platform/refinery-platform/pulls/2704/commits","review_comments_url":"https://api.github.com/repos/refinery-platform/refinery-platform/pulls/2704/comments","review_comment_url":"https://api.github.com/repos/refinery-platform/refinery-platform/pulls/comments{/number}","comments_url":"https://api.github.com/repos/refinery-platform/refinery-platform/issues/2704/comments","statuses_url":"https://api.github.com/repos/refinery-platform/refinery-platform/statuses/3932454523bfca6aff7abc2653a0bc4f731ad34c","head":{"label":"refinery-platform:scottx611x/collect_stats","ref":"scottx611x/collect_stats","sha":"3932454523bfca6aff7abc2653a0bc4f731ad34c","user":{"login":"refinery-platform","id":16256162,"avatar_url":"https://avatars0.githubusercontent.com/u/16256162?v=4","gravatar_id":"","url":"https://api.github.com/users/refinery-platform","html_url":"https://github.com/refinery-platform","followers_url":"https://api.github.com/users/refinery-platform/followers","following_url":"https://api.github.com/users/refinery-platform/following{/other_user}","gists_url":"https://api.github.com/users/refinery-platform/gists{/gist_id}","starred_url":"https://api.github.com/users/refinery-platform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/refinery-platform/subscriptions","organizations_url":"https://api.github.com/users/refinery-platform/orgs","repos_url":"https://api.github.com/users/refinery-platform/repos","events_url":"https://api.github.com/users/refinery-platform/events{/privacy}","received_events_url":"https://api.github.com/users/refinery-platform/received_events","type":"Organization","site_admin":false},"repo":{"id":2838735,"name":"refinery-platform","full_name":"refinery-platform/refinery-platform","owner":{"login":"refinery-platform","id":16256162,"avatar_url":"https://avatars0.githubusercontent.com/u/16256162?v=4","gravatar_id":"","url":"https://api.github.com/users/refinery-platform","html_url":"https://github.com/refinery-platform","followers_url":"https://api.github.com/users/refinery-platform/followers","following_url":"https://api.github.com/users/refinery-platform/following{/other_user}","gists_url":"https://api.github.com/users/refinery-platform/gists{/gist_id}","starred_url":"https://api.github.com/users/refinery-platform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/refinery-platform/subscriptions","organizations_url":"https://api.github.com/users/refinery-platform/orgs","repos_url":"https://api.github.com/users/refinery-platform/repos","events_url":"https://api.github.com/users/refinery-platform/events{/privacy}","received_events_url":"https://api.github.com/users/refinery-platform/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/refinery-platform/refinery-platform","description":"The Refinery Platform is a data management, analysis and visualization system for bioinformatics and computational biology applications. The platforms consists of three major components: a data repository with rich metadata capabilities, a workflow engine based on the popular Galaxy system, and visualization tools to support the exploration and interpretation of results at all stages of the analysis process.","fork":false,"url":"https://api.github.com/repos/refinery-platform/refinery-platform","forks_url":"https://api.github.com/repos/refinery-platform/refinery-platform/forks","keys_url":"https://api.github.com/repos/refinery-platform/refinery-platform/keys{/key_id}","collaborators_url":"https://api.github.com/repos/refinery-platform/refinery-platform/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/refinery-platform/refinery-platform/teams","hooks_url":"https://api.github.com/repos/refinery-platform/refinery-platform/hooks","issue_events_url":"https://api.github.com/repos/refinery-platform/refinery-platform/issues/events{/number}","events_url":"https://api.github.com/repos/refinery-platform/refinery-platform/events","assignees_url":"https://api.github.com/repos/refinery-platform/refinery-platform/assignees{/user}","branches_url":"https://api.github.com/repos/refinery-platform/refinery-platform/branches{/branch}","tags_url":"https://api.github.com/repos/refinery-platform/refinery-platform/tags","blobs_url":"https://api.github.com/repos/refinery-platform/refinery-platform/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/refinery-platform/refinery-platform/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/refinery-platform/refinery-platform/git/refs{/sha}","trees_url":"https://api.github.com/repos/refinery-platform/refinery-platform/git/trees{/sha}","statuses_url":"https://api.github.com/repos/refinery-platform/refinery-platform/statuses/{sha}","languages_url":"https://api.github.com/repos/refinery-platform/refinery-platform/languages","stargazers_url":"https://api.github.com/repos/refinery-platform/refinery-platform/stargazers","contributors_url":"https://api.github.com/repos/refinery-platform/refinery-platform/contributors","subscribers_url":"https://api.github.com/repos/refinery-platform/refinery-platform/subscribers","subscription_url":"https://api.github.com/repos/refinery-platform/refinery-platform/subscription","commits_url":"https://api.github.com/repos/refinery-platform/refinery-platform/commits{/sha}","git_commits_url":"https://api.github.com/repos/refinery-platform/refinery-platform/git/commits{/sha}","comments_url":"https://api.github.com/repos/refinery-platform/refinery-platform/comments{/number}","issue_comment_url":"https://api.github.com/repos/refinery-platform/refinery-platform/issues/comments{/number}","contents_url":"https://api.github.com/repos/refinery-platform/refinery-platform/contents/{+path}","compare_url":"https://api.github.com/repos/refinery-platform/refinery-platform/compare/{base}...{head}","merges_url":"https://api.github.com/repos/refinery-platform/refinery-platform/merges","archive_url":"https://api.github.com/repos/refinery-platform/refinery-platform/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/refinery-platform/refinery-platform/downloads","issues_url":"https://api.github.com/repos/refinery-platform/refinery-platform/issues{/number}","pulls_url":"https://api.github.com/repos/refinery-platform/refinery-platform/pulls{/number}","milestones_url":"https://api.github.com/repos/refinery-platform/refinery-platform/milestones{/number}","notifications_url":"https://api.github.com/repos/refinery-platform/refinery-platform/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/refinery-platform/refinery-platform/labels{/name}","releases_url":"https://api.github.com/repos/refinery-platform/refinery-platform/releases{/id}","deployments_url":"https://api.github.com/repos/refinery-platform/refinery-platform/deployments","created_at":"2011-11-23T20:23:20Z","updated_at":"2018-04-05T21:36:58Z","pushed_at":"2018-04-05T21:37:05Z","git_url":"git://github.com/refinery-platform/refinery-platform.git","ssh_url":"git@github.com:refinery-platform/refinery-platform.git","clone_url":"https://github.com/refinery-platform/refinery-platform.git","svn_url":"https://github.com/refinery-platform/refinery-platform","homepage":"http://www.refinery-platform.org","size":76917,"stargazers_count":86,"watchers_count":86,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":15,"mirror_url":null,"archived":false,"open_issues_count":392,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":15,"open_issues":392,"watchers":86,"default_branch":"develop"}},"base":{"label":"refinery-platform:develop","ref":"develop","sha":"a72861a9236f752ea70e3628418fbaee74ffd939","user":{"login":"refinery-platform","id":16256162,"avatar_url":"https://avatars0.githubusercontent.com/u/16256162?v=4","gravatar_id":"","url":"https://api.github.com/users/refinery-platform","html_url":"https://github.com/refinery-platform","followers_url":"https://api.github.com/users/refinery-platform/followers","following_url":"https://api.github.com/users/refinery-platform/following{/other_user}","gists_url":"https://api.github.com/users/refinery-platform/gists{/gist_id}","starred_url":"https://api.github.com/users/refinery-platform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/refinery-platform/subscriptions","organizations_url":"https://api.github.com/users/refinery-platform/orgs","repos_url":"https://api.github.com/users/refinery-platform/repos","events_url":"https://api.github.com/users/refinery-platform/events{/privacy}","received_events_url":"https://api.github.com/users/refinery-platform/received_events","type":"Organization","site_admin":false},"repo":{"id":2838735,"name":"refinery-platform","full_name":"refinery-platform/refinery-platform","owner":{"login":"refinery-platform","id":16256162,"avatar_url":"https://avatars0.githubusercontent.com/u/16256162?v=4","gravatar_id":"","url":"https://api.github.com/users/refinery-platform","html_url":"https://github.com/refinery-platform","followers_url":"https://api.github.com/users/refinery-platform/followers","following_url":"https://api.github.com/users/refinery-platform/following{/other_user}","gists_url":"https://api.github.com/users/refinery-platform/gists{/gist_id}","starred_url":"https://api.github.com/users/refinery-platform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/refinery-platform/subscriptions","organizations_url":"https://api.github.com/users/refinery-platform/orgs","repos_url":"https://api.github.com/users/refinery-platform/repos","events_url":"https://api.github.com/users/refinery-platform/events{/privacy}","received_events_url":"https://api.github.com/users/refinery-platform/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/refinery-platform/refinery-platform","description":"The Refinery Platform is a data management, analysis and visualization system for bioinformatics and computational biology applications. The platforms consists of three major components: a data repository with rich metadata capabilities, a workflow engine based on the popular Galaxy system, and visualization tools to support the exploration and interpretation of results at all stages of the analysis process.","fork":false,"url":"https://api.github.com/repos/refinery-platform/refinery-platform","forks_url":"https://api.github.com/repos/refinery-platform/refinery-platform/forks","keys_url":"https://api.github.com/repos/refinery-platform/refinery-platform/keys{/key_id}","collaborators_url":"https://api.github.com/repos/refinery-platform/refinery-platform/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/refinery-platform/refinery-platform/teams","hooks_url":"https://api.github.com/repos/refinery-platform/refinery-platform/hooks","issue_events_url":"https://api.github.com/repos/refinery-platform/refinery-platform/issues/events{/number}","events_url":"https://api.github.com/repos/refinery-platform/refinery-platform/events","assignees_url":"https://api.github.com/repos/refinery-platform/refinery-platform/assignees{/user}","branches_url":"https://api.github.com/repos/refinery-platform/refinery-platform/branches{/branch}","tags_url":"https://api.github.com/repos/refinery-platform/refinery-platform/tags","blobs_url":"https://api.github.com/repos/refinery-platform/refinery-platform/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/refinery-platform/refinery-platform/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/refinery-platform/refinery-platform/git/refs{/sha}","trees_url":"https://api.github.com/repos/refinery-platform/refinery-platform/git/trees{/sha}","statuses_url":"https://api.github.com/repos/refinery-platform/refinery-platform/statuses/{sha}","languages_url":"https://api.github.com/repos/refinery-platform/refinery-platform/languages","stargazers_url":"https://api.github.com/repos/refinery-platform/refinery-platform/stargazers","contributors_url":"https://api.github.com/repos/refinery-platform/refinery-platform/contributors","subscribers_url":"https://api.github.com/repos/refinery-platform/refinery-platform/subscribers","subscription_url":"https://api.github.com/repos/refinery-platform/refinery-platform/subscription","commits_url":"https://api.github.com/repos/refinery-platform/refinery-platform/commits{/sha}","git_commits_url":"https://api.github.com/repos/refinery-platform/refinery-platform/git/commits{/sha}","comments_url":"https://api.github.com/repos/refinery-platform/refinery-platform/comments{/number}","issue_comment_url":"https://api.github.com/repos/refinery-platform/refinery-platform/issues/comments{/number}","contents_url":"https://api.github.com/repos/refinery-platform/refinery-platform/contents/{+path}","compare_url":"https://api.github.com/repos/refinery-platform/refinery-platform/compare/{base}...{head}","merges_url":"https://api.github.com/repos/refinery-platform/refinery-platform/merges","archive_url":"https://api.github.com/repos/refinery-platform/refinery-platform/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/refinery-platform/refinery-platform/downloads","issues_url":"https://api.github.com/repos/refinery-platform/refinery-platform/issues{/number}","pulls_url":"https://api.github.com/repos/refinery-platform/refinery-platform/pulls{/number}","milestones_url":"https://api.github.com/repos/refinery-platform/refinery-platform/milestones{/number}","notifications_url":"https://api.github.com/repos/refinery-platform/refinery-platform/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/refinery-platform/refinery-platform/labels{/name}","releases_url":"https://api.github.com/repos/refinery-platform/refinery-platform/releases{/id}","deployments_url":"https://api.github.com/repos/refinery-platform/refinery-platform/deployments","created_at":"2011-11-23T20:23:20Z","updated_at":"2018-04-05T21:36:58Z","pushed_at":"2018-04-05T21:37:05Z","git_url":"git://github.com/refinery-platform/refinery-platform.git","ssh_url":"git@github.com:refinery-platform/refinery-platform.git","clone_url":"https://github.com/refinery-platform/refinery-platform.git","svn_url":"https://github.com/refinery-platform/refinery-platform","homepage":"http://www.refinery-platform.org","size":76917,"stargazers_count":86,"watchers_count":86,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":15,"mirror_url":null,"archived":false,"open_issues_count":392,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":15,"open_issues":392,"watchers":86,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/refinery-platform/refinery-platform/pulls/2704"},"html":{"href":"https://github.com/refinery-platform/refinery-platform/pull/2704"},"issue":{"href":"https://api.github.com/repos/refinery-platform/refinery-platform/issues/2704"},"comments":{"href":"https://api.github.com/repos/refinery-platform/refinery-platform/issues/2704/comments"},"review_comments":{"href":"https://api.github.com/repos/refinery-platform/refinery-platform/pulls/2704/comments"},"review_comment":{"href":"https://api.github.com/repos/refinery-platform/refinery-platform/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/refinery-platform/refinery-platform/pulls/2704/commits"},"statuses":{"href":"https://api.github.com/repos/refinery-platform/refinery-platform/statuses/3932454523bfca6aff7abc2653a0bc4f731ad34c"}},"author_association":"OWNER"}}
{"actor":{"display_login":"scottx611x"}}