{"action":"created","comment":{"url":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/comments/45778539","id":45778539,"diff_hunk":"@@ -0,0 +1,272 @@\n+/**\n+ * Controller for changing privacy settings for a node and its children.\n+ */\n+'use strict';\n+\n+var $ = require('jquery');\n+var ko = require('knockout');\n+var bootbox = require('bootbox');\n+var Raven = require('raven-js');\n+\n+var oop = require('./oop');\n+var $osf = require('./osfHelpers');\n+var Paginator = require('./paginator');\n+var osfHelpers = require('js/osfHelpers');\n+var m = require('mithril');\n+var Treebeard = require('treebeard');\n+var NodesPrivacyTreebeard = require('js/nodesPrivacySettingsTreebeard');\n+\n+//Todo (billyhunt): change url to dev or production as needed\n+var API_BASE = 'http://localhost:8000/v2/nodes/';\n+\n+var MESSAGES = {\n+    makeProjectPublicWarning:\n+                        'Please review your projects, components, and add-ons for sensitive or restricted information before making them public.' +\n+                        '<br><br>Once they are made public, you should assume they will always be public. You can ' +\n+                        'return them to private later, but search engines (including Google’s cache) or others may access files before you do.',\n+\n+    selectNodes: 'Adjust your privacy settings by checking the boxes below. ' +\n+                        '<br><br><b>Checked</b> projects and components will be <b>public</b>.  <br><b>Unchecked</b> components will be <b>private</b>.',\n+    addonWarning: {\n+        nodesPublic: 'The following projects and components will be made <b>public</b>.',\n+        nodesPrivate: 'The following projects and components will be made <b>private</b>.'\n+    }\n+};\n+\n+function getNodesOriginal(nodeTree, nodesOriginal) {\n+    /**\n+     * take treebeard tree structure of nodes and get a dictionary of parent node and all its\n+     * children\n+     */\n+    var i;\n+    var nodeId = nodeTree.node.id;\n+    nodesOriginal[nodeId] = {\n+        public: nodeTree.node.is_public,\n+        id: nodeTree.node.id,\n+        addons: nodeTree.node.addons,\n+        title: nodeTree.node.title,\n+        canWrite: nodeTree.node.can_write,\n+        changed: false\n+    };\n+\n+    if (nodeTree.children) {\n+        for (i in nodeTree.children) {\n+            nodesOriginal = getNodesOriginal(nodeTree.children[i], nodesOriginal);\n+        }\n+    }\n+    return nodesOriginal;\n+}\n+\n+function patchNodesPrivacy(nodes) {\n+    /**\n+     * patches all the nodes in a changed state\n+     * uses API v2 bulk requests\n+     */\n+    var nodesPatch = [];\n+    var promise;\n+    nodesPatch = nodes.splice(0,10).map(function (node) {\n+        return {\n+            'type': 'nodes',\n+            'id': node.id,\n+            'attributes': {\n+                'public': node.public\n+            }\n+        };\n+    });\n+    return $.ajax({\n+        url: API_BASE,\n+        type: 'PATCH',\n+        dataType: 'json',\n+        contentType: 'application/vnd.api+json; ext=bulk',\n+        crossOrigin: true,\n+        xhrFields: {withCredentials: true},\n+        processData: false,\n+        data: JSON.stringify({\n+            data: nodesPatch\n+        })\n+    }).done(function (response) {\n+        if (nodes.length === 0) {\n+            return;\n+        }\n+        return patchNodesPrivacy(nodes);\n+    });\n+}\n+\n+var NodesPrivacyViewModel = function(data, parentIsPublic) {\n+    /**\n+     * view model which corresponds to nodes_privacy.mako (#nodesPrivacy)\n+     *\n+     * @type {NodesPrivacyViewModel}\n+     */\n+    var self = this;\n+    var nodesOriginal = {};\n+    var treebeardUrl = data.node.api_url  + 'get_node_tree/';\n+    self.loadingResults = ko.observable(false);\n+    //state of current nodes\n+    self.nodesState = ko.observableArray();\n+    self.nodesState.subscribe(function(newValue) {\n+        m.redraw(true);\n+    });\n+    //original node state on page load\n+    self.nodesOriginal = ko.observableArray();\n+    self.nodesOriginal.subscribe(function(newValue) {\n+    });\n+\n+    $('#nodesPrivacy').on('hidden.bs.modal', function () {\n+        self.clear();\n+    });\n+\n+    self.loadingResults(true); // enables spinner\n+    /**\n+     * get node tree for treebeard from API V1\n+     */\n+    $.ajax({","path":"website/static/js/nodesPrivacy.js","position":null,"original_position":123,"commit_id":"7c417f119c78f96146f906a7225f64b168d8c855","original_commit_id":"1683a75fdd88701cb8a2a60731fad01f6289da24","user":{"login":"billyhunt","id":6232068,"avatar_url":"https://avatars.githubusercontent.com/u/6232068?v=3","gravatar_id":"","url":"https://api.github.com/users/billyhunt","html_url":"https://github.com/billyhunt","followers_url":"https://api.github.com/users/billyhunt/followers","following_url":"https://api.github.com/users/billyhunt/following{/other_user}","gists_url":"https://api.github.com/users/billyhunt/gists{/gist_id}","starred_url":"https://api.github.com/users/billyhunt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/billyhunt/subscriptions","organizations_url":"https://api.github.com/users/billyhunt/orgs","repos_url":"https://api.github.com/users/billyhunt/repos","events_url":"https://api.github.com/users/billyhunt/events{/privacy}","received_events_url":"https://api.github.com/users/billyhunt/received_events","type":"User","site_admin":false},"body":"I will do this.","created_at":"2015-11-24T19:00:57Z","updated_at":"2015-11-24T19:00:57Z","html_url":"https://github.com/CenterForOpenScience/osf.io/pull/4487#discussion_r45778539","pull_request_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/4487","_links":{"self":{"href":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/comments/45778539"},"html":{"href":"https://github.com/CenterForOpenScience/osf.io/pull/4487#discussion_r45778539"},"pull_request":{"href":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/4487"}}},"pull_request":{"url":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/4487","id":48206392,"html_url":"https://github.com/CenterForOpenScience/osf.io/pull/4487","diff_url":"https://github.com/CenterForOpenScience/osf.io/pull/4487.diff","patch_url":"https://github.com/CenterForOpenScience/osf.io/pull/4487.patch","issue_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/4487","number":4487,"state":"open","locked":false,"title":"[Feature] Multiple public projects dialog","user":{"login":"billyhunt","id":6232068,"avatar_url":"https://avatars.githubusercontent.com/u/6232068?v=3","gravatar_id":"","url":"https://api.github.com/users/billyhunt","html_url":"https://github.com/billyhunt","followers_url":"https://api.github.com/users/billyhunt/followers","following_url":"https://api.github.com/users/billyhunt/following{/other_user}","gists_url":"https://api.github.com/users/billyhunt/gists{/gist_id}","starred_url":"https://api.github.com/users/billyhunt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/billyhunt/subscriptions","organizations_url":"https://api.github.com/users/billyhunt/orgs","repos_url":"https://api.github.com/users/billyhunt/repos","events_url":"https://api.github.com/users/billyhunt/events{/privacy}","received_events_url":"https://api.github.com/users/billyhunt/received_events","type":"User","site_admin":false},"body":"Jira Issue OSF-4457\r\n\r\nPurpose\r\n-----------\r\nWhen making a project public or private, there is no option to make the children of the project (components or projects under the project) public or private at the same time.  \r\n\r\nChanges\r\n------------\r\nHere are the three views that will guide the user through the permissions process.\r\n  \r\nView 1.  warn users of the implications of making their work public or private.  \r\nView 2.  A tree with checkboxes to allow users to change the privacy settings for some or all of the child nodes under their project.\r\nView 3.  A final warning saying which addons will be effected by changing the privacy settings of the projects or components selected.\r\n\r\nSide Effects\r\n---------------\r\n1.  Making a single node public or private will be more complicated (four buttons to click vs three).\r\n2.  Both Public and Private buttons will link to the same privacy settings dialog.  This could add confusion.  It is currently acceptable as a project organizer redesign is in the works, and the new UI should more accurately reflect the idea of privacy settings. \r\n\r\n\r\n#### Before:  \r\n![screen shot 2015-10-20 at 10 13 48 am](https://cloud.githubusercontent.com/assets/6232068/10609801/4c01aa0a-7713-11e5-86c2-e4ca2a7850a2.png)\r\n\r\n#### Now:\r\n\r\n<img width=\"686\" alt=\"screen shot 2015-11-21 at 8 01 36 pm\" src=\"https://cloud.githubusercontent.com/assets/6232068/11321376/c75a415e-908a-11e5-8973-8e92e9b5ff3c.png\">\r\n<img width=\"680\" alt=\"screen shot 2015-11-21 at 8 01 46 pm\" src=\"https://cloud.githubusercontent.com/assets/6232068/11321377/c9a45936-908a-11e5-8e60-948424e8dab3.png\">\r\n<img width=\"697\" alt=\"screen shot 2015-11-21 at 8 01 52 pm\" src=\"https://cloud.githubusercontent.com/assets/6232068/11321379/cc19ea5a-908a-11e5-849f-85e501933843.png\">\r\n\r\n","created_at":"2015-10-20T14:15:02Z","updated_at":"2015-11-24T19:00:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bd84652b3de02daa4f806639dfb6d74d5044cae2","assignee":null,"milestone":{"url":"https://api.github.com/repos/CenterForOpenScience/osf.io/milestones/59","html_url":"https://github.com/CenterForOpenScience/osf.io/milestones/0.60.0","labels_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/milestones/59/labels","id":1425274,"number":59,"title":"0.60.0","description":"","creator":{"login":"sloria","id":2379650,"avatar_url":"https://avatars.githubusercontent.com/u/2379650?v=3","gravatar_id":"","url":"https://api.github.com/users/sloria","html_url":"https://github.com/sloria","followers_url":"https://api.github.com/users/sloria/followers","following_url":"https://api.github.com/users/sloria/following{/other_user}","gists_url":"https://api.github.com/users/sloria/gists{/gist_id}","starred_url":"https://api.github.com/users/sloria/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sloria/subscriptions","organizations_url":"https://api.github.com/users/sloria/orgs","repos_url":"https://api.github.com/users/sloria/repos","events_url":"https://api.github.com/users/sloria/events{/privacy}","received_events_url":"https://api.github.com/users/sloria/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":1,"state":"open","created_at":"2015-11-23T15:30:42Z","updated_at":"2015-11-23T19:47:57Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/4487/commits","review_comments_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/4487/comments","review_comment_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/4487/comments","statuses_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/statuses/7c417f119c78f96146f906a7225f64b168d8c855","head":{"label":"billyhunt:feature/multiple-public-projects-dialog","ref":"feature/multiple-public-projects-dialog","sha":"7c417f119c78f96146f906a7225f64b168d8c855","user":{"login":"billyhunt","id":6232068,"avatar_url":"https://avatars.githubusercontent.com/u/6232068?v=3","gravatar_id":"","url":"https://api.github.com/users/billyhunt","html_url":"https://github.com/billyhunt","followers_url":"https://api.github.com/users/billyhunt/followers","following_url":"https://api.github.com/users/billyhunt/following{/other_user}","gists_url":"https://api.github.com/users/billyhunt/gists{/gist_id}","starred_url":"https://api.github.com/users/billyhunt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/billyhunt/subscriptions","organizations_url":"https://api.github.com/users/billyhunt/orgs","repos_url":"https://api.github.com/users/billyhunt/repos","events_url":"https://api.github.com/users/billyhunt/events{/privacy}","received_events_url":"https://api.github.com/users/billyhunt/received_events","type":"User","site_admin":false},"repo":{"id":33544748,"name":"osf.io","full_name":"billyhunt/osf.io","owner":{"login":"billyhunt","id":6232068,"avatar_url":"https://avatars.githubusercontent.com/u/6232068?v=3","gravatar_id":"","url":"https://api.github.com/users/billyhunt","html_url":"https://github.com/billyhunt","followers_url":"https://api.github.com/users/billyhunt/followers","following_url":"https://api.github.com/users/billyhunt/following{/other_user}","gists_url":"https://api.github.com/users/billyhunt/gists{/gist_id}","starred_url":"https://api.github.com/users/billyhunt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/billyhunt/subscriptions","organizations_url":"https://api.github.com/users/billyhunt/orgs","repos_url":"https://api.github.com/users/billyhunt/repos","events_url":"https://api.github.com/users/billyhunt/events{/privacy}","received_events_url":"https://api.github.com/users/billyhunt/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/billyhunt/osf.io","description":"Facilitating Open Science","fork":true,"url":"https://api.github.com/repos/billyhunt/osf.io","forks_url":"https://api.github.com/repos/billyhunt/osf.io/forks","keys_url":"https://api.github.com/repos/billyhunt/osf.io/keys{/key_id}","collaborators_url":"https://api.github.com/repos/billyhunt/osf.io/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/billyhunt/osf.io/teams","hooks_url":"https://api.github.com/repos/billyhunt/osf.io/hooks","issue_events_url":"https://api.github.com/repos/billyhunt/osf.io/issues/events{/number}","events_url":"https://api.github.com/repos/billyhunt/osf.io/events","assignees_url":"https://api.github.com/repos/billyhunt/osf.io/assignees{/user}","branches_url":"https://api.github.com/repos/billyhunt/osf.io/branches{/branch}","tags_url":"https://api.github.com/repos/billyhunt/osf.io/tags","blobs_url":"https://api.github.com/repos/billyhunt/osf.io/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/billyhunt/osf.io/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/billyhunt/osf.io/git/refs{/sha}","trees_url":"https://api.github.com/repos/billyhunt/osf.io/git/trees{/sha}","statuses_url":"https://api.github.com/repos/billyhunt/osf.io/statuses/{sha}","languages_url":"https://api.github.com/repos/billyhunt/osf.io/languages","stargazers_url":"https://api.github.com/repos/billyhunt/osf.io/stargazers","contributors_url":"https://api.github.com/repos/billyhunt/osf.io/contributors","subscribers_url":"https://api.github.com/repos/billyhunt/osf.io/subscribers","subscription_url":"https://api.github.com/repos/billyhunt/osf.io/subscription","commits_url":"https://api.github.com/repos/billyhunt/osf.io/commits{/sha}","git_commits_url":"https://api.github.com/repos/billyhunt/osf.io/git/commits{/sha}","comments_url":"https://api.github.com/repos/billyhunt/osf.io/comments{/number}","issue_comment_url":"https://api.github.com/repos/billyhunt/osf.io/issues/comments{/number}","contents_url":"https://api.github.com/repos/billyhunt/osf.io/contents/{+path}","compare_url":"https://api.github.com/repos/billyhunt/osf.io/compare/{base}...{head}","merges_url":"https://api.github.com/repos/billyhunt/osf.io/merges","archive_url":"https://api.github.com/repos/billyhunt/osf.io/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/billyhunt/osf.io/downloads","issues_url":"https://api.github.com/repos/billyhunt/osf.io/issues{/number}","pulls_url":"https://api.github.com/repos/billyhunt/osf.io/pulls{/number}","milestones_url":"https://api.github.com/repos/billyhunt/osf.io/milestones{/number}","notifications_url":"https://api.github.com/repos/billyhunt/osf.io/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/billyhunt/osf.io/labels{/name}","releases_url":"https://api.github.com/repos/billyhunt/osf.io/releases{/id}","created_at":"2015-04-07T13:28:52Z","updated_at":"2015-05-06T16:08:02Z","pushed_at":"2015-11-24T19:00:01Z","git_url":"git://github.com/billyhunt/osf.io.git","ssh_url":"git@github.com:billyhunt/osf.io.git","clone_url":"https://github.com/billyhunt/osf.io.git","svn_url":"https://github.com/billyhunt/osf.io","homepage":"http://osf.io","size":106872,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"develop"}},"base":{"label":"CenterForOpenScience:develop","ref":"develop","sha":"f868a78981001f3e894d95ea8acc9c6770ade0f4","user":{"login":"CenterForOpenScience","id":3344584,"avatar_url":"https://avatars.githubusercontent.com/u/3344584?v=3","gravatar_id":"","url":"https://api.github.com/users/CenterForOpenScience","html_url":"https://github.com/CenterForOpenScience","followers_url":"https://api.github.com/users/CenterForOpenScience/followers","following_url":"https://api.github.com/users/CenterForOpenScience/following{/other_user}","gists_url":"https://api.github.com/users/CenterForOpenScience/gists{/gist_id}","starred_url":"https://api.github.com/users/CenterForOpenScience/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CenterForOpenScience/subscriptions","organizations_url":"https://api.github.com/users/CenterForOpenScience/orgs","repos_url":"https://api.github.com/users/CenterForOpenScience/repos","events_url":"https://api.github.com/users/CenterForOpenScience/events{/privacy}","received_events_url":"https://api.github.com/users/CenterForOpenScience/received_events","type":"Organization","site_admin":false},"repo":{"id":10199599,"name":"osf.io","full_name":"CenterForOpenScience/osf.io","owner":{"login":"CenterForOpenScience","id":3344584,"avatar_url":"https://avatars.githubusercontent.com/u/3344584?v=3","gravatar_id":"","url":"https://api.github.com/users/CenterForOpenScience","html_url":"https://github.com/CenterForOpenScience","followers_url":"https://api.github.com/users/CenterForOpenScience/followers","following_url":"https://api.github.com/users/CenterForOpenScience/following{/other_user}","gists_url":"https://api.github.com/users/CenterForOpenScience/gists{/gist_id}","starred_url":"https://api.github.com/users/CenterForOpenScience/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CenterForOpenScience/subscriptions","organizations_url":"https://api.github.com/users/CenterForOpenScience/orgs","repos_url":"https://api.github.com/users/CenterForOpenScience/repos","events_url":"https://api.github.com/users/CenterForOpenScience/events{/privacy}","received_events_url":"https://api.github.com/users/CenterForOpenScience/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CenterForOpenScience/osf.io","description":"Facilitating Open Science","fork":false,"url":"https://api.github.com/repos/CenterForOpenScience/osf.io","forks_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/forks","keys_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/teams","hooks_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/hooks","issue_events_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/events{/number}","events_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/events","assignees_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/assignees{/user}","branches_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/branches{/branch}","tags_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/tags","blobs_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/git/refs{/sha}","trees_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/statuses/{sha}","languages_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/languages","stargazers_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/stargazers","contributors_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/contributors","subscribers_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/subscribers","subscription_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/subscription","commits_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/commits{/sha}","git_commits_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/git/commits{/sha}","comments_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/comments{/number}","issue_comment_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/comments{/number}","contents_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/contents/{+path}","compare_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/merges","archive_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/downloads","issues_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues{/number}","pulls_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls{/number}","milestones_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/milestones{/number}","notifications_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/labels{/name}","releases_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/releases{/id}","created_at":"2013-05-21T15:53:37Z","updated_at":"2015-11-23T18:36:06Z","pushed_at":"2015-11-24T19:00:01Z","git_url":"git://github.com/CenterForOpenScience/osf.io.git","ssh_url":"git@github.com:CenterForOpenScience/osf.io.git","clone_url":"https://github.com/CenterForOpenScience/osf.io.git","svn_url":"https://github.com/CenterForOpenScience/osf.io","homepage":"http://osf.io","size":221735,"stargazers_count":162,"watchers_count":162,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":134,"mirror_url":null,"open_issues_count":337,"forks":134,"open_issues":337,"watchers":162,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/4487"},"html":{"href":"https://github.com/CenterForOpenScience/osf.io/pull/4487"},"issue":{"href":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/4487"},"comments":{"href":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/4487/comments"},"review_comments":{"href":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/4487/comments"},"review_comment":{"href":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/4487/commits"},"statuses":{"href":"https://api.github.com/repos/CenterForOpenScience/osf.io/statuses/7c417f119c78f96146f906a7225f64b168d8c855"}}}}