{"action":"created","comment":{"url":"https://api.github.com/repos/OS2mo/os2mo/pulls/comments/234117200","pull_request_review_id":175690136,"id":234117200,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzNDExNzIwMA==","diff_hunk":"@@ -415,6 +422,121 @@ def get_children(type, parentid):\n     return flask.jsonify(children)\n \n \n+def get_tree(c, unitid):\n+    '''Return a tree, bounded by the given unitid.\n+\n+    The tree includes siblings of ancestors, with their child counts.\n+\n+    '''\n+\n+    def get_parent(objid):\n+        return mapping.PARENT_FIELD(unitcache[objid])[0]['uuid']\n+\n+    unitcache = common.cache(c.organisationenhed.get)\n+    id_path = collections.deque([unitid])\n+\n+    orgid = mapping.BELONGS_TO_FIELD(unitcache[unitid])[0]['uuid']\n+\n+    # first, get the path to the unit\n+    while get_parent(id_path[0]) != orgid:\n+        id_path.appendleft(get_parent(id_path[0]))\n+\n+    # bail if we're the root unit; that's simpler than handling it in\n+    # the other logic\n+    if len(id_path) == 1:\n+        return get_one_orgunit(c, unitid, unitcache[unitid],\n+                               details=UnitDetails.NCHILDREN)\n+\n+    # then, fetch all the ancestors\n+    ancestors = {\n+        ancestorid: get_one_orgunit(c, ancestorid, unitcache[ancestorid],\n+                                    details=UnitDetails.MINIMAL)\n+        for ancestorid in id_path\n+        if ancestorid != unitid\n+    }\n+\n+    # now, inject the children, and link them up\n+    for ancestor in ancestors.values():\n+        if ancestor is None:\n+            continue\n+\n+        # please note that the code below actually re-fetches the\n+        # ancestor itself -- however, that's unlikely to be what makes\n+        # this function slow\n+        ancestor['children'] = sorted(\n+            (\n+                (\n+                    get_one_orgunit(c, siblingid, sibling,\n+                                    details=UnitDetails.NCHILDREN)\n+                    if siblingid not in ancestors\n+                    else\n+                    ancestors[siblingid]\n+                )\n+                for siblingid, sibling in c.organisationenhed.get_all(\n+                    overordnet=ancestor[mapping.UUID],\n+                    gyldighed='Aktiv',\n+                )\n+            ),\n+            key=lambda u: locale.strxfrm(u[mapping.NAME]),\n+        )\n+\n+    # finally, return the root unit\n+    return ancestors[id_path[0]]\n+\n+\n+@blueprint.route('/ou/<uuid:unitid>/tree')\n+@util.restrictargs('at')\n+def get_unit_tree(unitid):\n+    '''Obtain the unit hierarchy up to and including the given unit.\n+\n+    .. :quickref: Unit; Tree\n+\n+    :param unitid: The UUID of the organisational unit to be terminated.\n+\n+    :param see: http:get:`/service/ou/(uuid:unitid)/`.","path":"backend/mora/service/orgunit.py","position":166,"original_position":166,"commit_id":"7bbaaba619fcff9b018b60581800d376884e1252","original_commit_id":"7bbaaba619fcff9b018b60581800d376884e1252","user":{"login":"cmoesgaard","id":1827127,"node_id":"MDQ6VXNlcjE4MjcxMjc=","avatar_url":"https://avatars3.githubusercontent.com/u/1827127?v=4","gravatar_id":"","url":"https://api.github.com/users/cmoesgaard","html_url":"https://github.com/cmoesgaard","followers_url":"https://api.github.com/users/cmoesgaard/followers","following_url":"https://api.github.com/users/cmoesgaard/following{/other_user}","gists_url":"https://api.github.com/users/cmoesgaard/gists{/gist_id}","starred_url":"https://api.github.com/users/cmoesgaard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmoesgaard/subscriptions","organizations_url":"https://api.github.com/users/cmoesgaard/orgs","repos_url":"https://api.github.com/users/cmoesgaard/repos","events_url":"https://api.github.com/users/cmoesgaard/events{/privacy}","received_events_url":"https://api.github.com/users/cmoesgaard/received_events","type":"User","site_admin":false},"body":"There's no parameter called `see` :slightly_smiling_face: ","created_at":"2018-11-16T08:03:18Z","updated_at":"2018-11-16T08:29:42Z","html_url":"https://github.com/OS2mo/os2mo/pull/222#discussion_r234117200","pull_request_url":"https://api.github.com/repos/OS2mo/os2mo/pulls/222","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/OS2mo/os2mo/pulls/comments/234117200"},"html":{"href":"https://github.com/OS2mo/os2mo/pull/222#discussion_r234117200"},"pull_request":{"href":"https://api.github.com/repos/OS2mo/os2mo/pulls/222"}}},"pull_request":{"url":"https://api.github.com/repos/OS2mo/os2mo/pulls/222","id":231148733,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMxMTQ4NzMz","html_url":"https://github.com/OS2mo/os2mo/pull/222","diff_url":"https://github.com/OS2mo/os2mo/pull/222.diff","patch_url":"https://github.com/OS2mo/os2mo/pull/222.patch","issue_url":"https://api.github.com/repos/OS2mo/os2mo/issues/222","number":222,"state":"open","locked":false,"title":"#22857 tree view","user":{"login":"danchr","id":59300,"node_id":"MDQ6VXNlcjU5MzAw","avatar_url":"https://avatars3.githubusercontent.com/u/59300?v=4","gravatar_id":"","url":"https://api.github.com/users/danchr","html_url":"https://github.com/danchr","followers_url":"https://api.github.com/users/danchr/followers","following_url":"https://api.github.com/users/danchr/following{/other_user}","gists_url":"https://api.github.com/users/danchr/gists{/gist_id}","starred_url":"https://api.github.com/users/danchr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danchr/subscriptions","organizations_url":"https://api.github.com/users/danchr/orgs","repos_url":"https://api.github.com/users/danchr/repos","events_url":"https://api.github.com/users/danchr/events{/privacy}","received_events_url":"https://api.github.com/users/danchr/received_events","type":"User","site_admin":false},"body":"This PR contains the Liquor Tree implementation of the tree view. Due to being based off the org mapping branch, it also contains some of that work, but I've hidden the main button for now.\r\n\r\n<!-- Insert a link for relevant Redmine ticket(s) here -->\r\nhttps://redmine.magenta-aps.dk/issues/22857\r\n\r\n- [x] Have you updated the documentation?\r\n- [x] Have you performed a smoke test of the application?\r\n- [x] Have you written tests for your changes?\r\n- [ ] Have you updated the release notes?\r\n\r\n<!--\r\n  If you've left boxes unchecked, remember to explain why; use ~~ to\r\n  add a strike through to any that don't apply\r\n-->","created_at":"2018-11-15T10:48:17Z","updated_at":"2018-11-16T08:29:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bc2353a1a795290e7d3a86de87ad68f13a36f97d","assignee":{"login":"danchr","id":59300,"node_id":"MDQ6VXNlcjU5MzAw","avatar_url":"https://avatars3.githubusercontent.com/u/59300?v=4","gravatar_id":"","url":"https://api.github.com/users/danchr","html_url":"https://github.com/danchr","followers_url":"https://api.github.com/users/danchr/followers","following_url":"https://api.github.com/users/danchr/following{/other_user}","gists_url":"https://api.github.com/users/danchr/gists{/gist_id}","starred_url":"https://api.github.com/users/danchr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danchr/subscriptions","organizations_url":"https://api.github.com/users/danchr/orgs","repos_url":"https://api.github.com/users/danchr/repos","events_url":"https://api.github.com/users/danchr/events{/privacy}","received_events_url":"https://api.github.com/users/danchr/received_events","type":"User","site_admin":false},"assignees":[{"login":"danchr","id":59300,"node_id":"MDQ6VXNlcjU5MzAw","avatar_url":"https://avatars3.githubusercontent.com/u/59300?v=4","gravatar_id":"","url":"https://api.github.com/users/danchr","html_url":"https://github.com/danchr","followers_url":"https://api.github.com/users/danchr/followers","following_url":"https://api.github.com/users/danchr/following{/other_user}","gists_url":"https://api.github.com/users/danchr/gists{/gist_id}","starred_url":"https://api.github.com/users/danchr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danchr/subscriptions","organizations_url":"https://api.github.com/users/danchr/orgs","repos_url":"https://api.github.com/users/danchr/repos","events_url":"https://api.github.com/users/danchr/events{/privacy}","received_events_url":"https://api.github.com/users/danchr/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"andersjepsen","id":5256071,"node_id":"MDQ6VXNlcjUyNTYwNzE=","avatar_url":"https://avatars0.githubusercontent.com/u/5256071?v=4","gravatar_id":"","url":"https://api.github.com/users/andersjepsen","html_url":"https://github.com/andersjepsen","followers_url":"https://api.github.com/users/andersjepsen/followers","following_url":"https://api.github.com/users/andersjepsen/following{/other_user}","gists_url":"https://api.github.com/users/andersjepsen/gists{/gist_id}","starred_url":"https://api.github.com/users/andersjepsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andersjepsen/subscriptions","organizations_url":"https://api.github.com/users/andersjepsen/orgs","repos_url":"https://api.github.com/users/andersjepsen/repos","events_url":"https://api.github.com/users/andersjepsen/events{/privacy}","received_events_url":"https://api.github.com/users/andersjepsen/received_events","type":"User","site_admin":false},{"login":"n-singh","id":9480639,"node_id":"MDQ6VXNlcjk0ODA2Mzk=","avatar_url":"https://avatars1.githubusercontent.com/u/9480639?v=4","gravatar_id":"","url":"https://api.github.com/users/n-singh","html_url":"https://github.com/n-singh","followers_url":"https://api.github.com/users/n-singh/followers","following_url":"https://api.github.com/users/n-singh/following{/other_user}","gists_url":"https://api.github.com/users/n-singh/gists{/gist_id}","starred_url":"https://api.github.com/users/n-singh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/n-singh/subscriptions","organizations_url":"https://api.github.com/users/n-singh/orgs","repos_url":"https://api.github.com/users/n-singh/repos","events_url":"https://api.github.com/users/n-singh/events{/privacy}","received_events_url":"https://api.github.com/users/n-singh/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/OS2mo/os2mo/pulls/222/commits","review_comments_url":"https://api.github.com/repos/OS2mo/os2mo/pulls/222/comments","review_comment_url":"https://api.github.com/repos/OS2mo/os2mo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OS2mo/os2mo/issues/222/comments","statuses_url":"https://api.github.com/repos/OS2mo/os2mo/statuses/7bbaaba619fcff9b018b60581800d376884e1252","head":{"label":"OS2mo:feature/22857-org-mapping","ref":"feature/22857-org-mapping","sha":"7bbaaba619fcff9b018b60581800d376884e1252","user":{"login":"OS2mo","id":44108571,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ0MTA4NTcx","avatar_url":"https://avatars1.githubusercontent.com/u/44108571?v=4","gravatar_id":"","url":"https://api.github.com/users/OS2mo","html_url":"https://github.com/OS2mo","followers_url":"https://api.github.com/users/OS2mo/followers","following_url":"https://api.github.com/users/OS2mo/following{/other_user}","gists_url":"https://api.github.com/users/OS2mo/gists{/gist_id}","starred_url":"https://api.github.com/users/OS2mo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OS2mo/subscriptions","organizations_url":"https://api.github.com/users/OS2mo/orgs","repos_url":"https://api.github.com/users/OS2mo/repos","events_url":"https://api.github.com/users/OS2mo/events{/privacy}","received_events_url":"https://api.github.com/users/OS2mo/received_events","type":"Organization","site_admin":false},"repo":{"id":90602092,"node_id":"MDEwOlJlcG9zaXRvcnk5MDYwMjA5Mg==","name":"os2mo","full_name":"OS2mo/os2mo","private":false,"owner":{"login":"OS2mo","id":44108571,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ0MTA4NTcx","avatar_url":"https://avatars1.githubusercontent.com/u/44108571?v=4","gravatar_id":"","url":"https://api.github.com/users/OS2mo","html_url":"https://github.com/OS2mo","followers_url":"https://api.github.com/users/OS2mo/followers","following_url":"https://api.github.com/users/OS2mo/following{/other_user}","gists_url":"https://api.github.com/users/OS2mo/gists{/gist_id}","starred_url":"https://api.github.com/users/OS2mo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OS2mo/subscriptions","organizations_url":"https://api.github.com/users/OS2mo/orgs","repos_url":"https://api.github.com/users/OS2mo/repos","events_url":"https://api.github.com/users/OS2mo/events{/privacy}","received_events_url":"https://api.github.com/users/OS2mo/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/OS2mo/os2mo","description":"OS2MO 2.0 — MedarbejderOrganisation","fork":false,"url":"https://api.github.com/repos/OS2mo/os2mo","forks_url":"https://api.github.com/repos/OS2mo/os2mo/forks","keys_url":"https://api.github.com/repos/OS2mo/os2mo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OS2mo/os2mo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OS2mo/os2mo/teams","hooks_url":"https://api.github.com/repos/OS2mo/os2mo/hooks","issue_events_url":"https://api.github.com/repos/OS2mo/os2mo/issues/events{/number}","events_url":"https://api.github.com/repos/OS2mo/os2mo/events","assignees_url":"https://api.github.com/repos/OS2mo/os2mo/assignees{/user}","branches_url":"https://api.github.com/repos/OS2mo/os2mo/branches{/branch}","tags_url":"https://api.github.com/repos/OS2mo/os2mo/tags","blobs_url":"https://api.github.com/repos/OS2mo/os2mo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OS2mo/os2mo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OS2mo/os2mo/git/refs{/sha}","trees_url":"https://api.github.com/repos/OS2mo/os2mo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OS2mo/os2mo/statuses/{sha}","languages_url":"https://api.github.com/repos/OS2mo/os2mo/languages","stargazers_url":"https://api.github.com/repos/OS2mo/os2mo/stargazers","contributors_url":"https://api.github.com/repos/OS2mo/os2mo/contributors","subscribers_url":"https://api.github.com/repos/OS2mo/os2mo/subscribers","subscription_url":"https://api.github.com/repos/OS2mo/os2mo/subscription","commits_url":"https://api.github.com/repos/OS2mo/os2mo/commits{/sha}","git_commits_url":"https://api.github.com/repos/OS2mo/os2mo/git/commits{/sha}","comments_url":"https://api.github.com/repos/OS2mo/os2mo/comments{/number}","issue_comment_url":"https://api.github.com/repos/OS2mo/os2mo/issues/comments{/number}","contents_url":"https://api.github.com/repos/OS2mo/os2mo/contents/{+path}","compare_url":"https://api.github.com/repos/OS2mo/os2mo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OS2mo/os2mo/merges","archive_url":"https://api.github.com/repos/OS2mo/os2mo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OS2mo/os2mo/downloads","issues_url":"https://api.github.com/repos/OS2mo/os2mo/issues{/number}","pulls_url":"https://api.github.com/repos/OS2mo/os2mo/pulls{/number}","milestones_url":"https://api.github.com/repos/OS2mo/os2mo/milestones{/number}","notifications_url":"https://api.github.com/repos/OS2mo/os2mo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OS2mo/os2mo/labels{/name}","releases_url":"https://api.github.com/repos/OS2mo/os2mo/releases{/id}","deployments_url":"https://api.github.com/repos/OS2mo/os2mo/deployments","created_at":"2017-05-08T08:05:11Z","updated_at":"2018-11-15T14:07:27Z","pushed_at":"2018-11-16T06:48:00Z","git_url":"git://github.com/OS2mo/os2mo.git","ssh_url":"git@github.com:OS2mo/os2mo.git","clone_url":"https://github.com/OS2mo/os2mo.git","svn_url":"https://github.com/OS2mo/os2mo","homepage":"https://mora.readthedocs.io","size":11283,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":23,"license":{"key":"mpl-2.0","name":"Mozilla Public License 2.0","spdx_id":"MPL-2.0","url":"https://api.github.com/licenses/mpl-2.0","node_id":"MDc6TGljZW5zZTE0"},"forks":2,"open_issues":23,"watchers":2,"default_branch":"development"}},"base":{"label":"OS2mo:development","ref":"development","sha":"9ab571d958ec1460c581caaea430d401e9779a80","user":{"login":"OS2mo","id":44108571,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ0MTA4NTcx","avatar_url":"https://avatars1.githubusercontent.com/u/44108571?v=4","gravatar_id":"","url":"https://api.github.com/users/OS2mo","html_url":"https://github.com/OS2mo","followers_url":"https://api.github.com/users/OS2mo/followers","following_url":"https://api.github.com/users/OS2mo/following{/other_user}","gists_url":"https://api.github.com/users/OS2mo/gists{/gist_id}","starred_url":"https://api.github.com/users/OS2mo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OS2mo/subscriptions","organizations_url":"https://api.github.com/users/OS2mo/orgs","repos_url":"https://api.github.com/users/OS2mo/repos","events_url":"https://api.github.com/users/OS2mo/events{/privacy}","received_events_url":"https://api.github.com/users/OS2mo/received_events","type":"Organization","site_admin":false},"repo":{"id":90602092,"node_id":"MDEwOlJlcG9zaXRvcnk5MDYwMjA5Mg==","name":"os2mo","full_name":"OS2mo/os2mo","private":false,"owner":{"login":"OS2mo","id":44108571,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ0MTA4NTcx","avatar_url":"https://avatars1.githubusercontent.com/u/44108571?v=4","gravatar_id":"","url":"https://api.github.com/users/OS2mo","html_url":"https://github.com/OS2mo","followers_url":"https://api.github.com/users/OS2mo/followers","following_url":"https://api.github.com/users/OS2mo/following{/other_user}","gists_url":"https://api.github.com/users/OS2mo/gists{/gist_id}","starred_url":"https://api.github.com/users/OS2mo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OS2mo/subscriptions","organizations_url":"https://api.github.com/users/OS2mo/orgs","repos_url":"https://api.github.com/users/OS2mo/repos","events_url":"https://api.github.com/users/OS2mo/events{/privacy}","received_events_url":"https://api.github.com/users/OS2mo/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/OS2mo/os2mo","description":"OS2MO 2.0 — MedarbejderOrganisation","fork":false,"url":"https://api.github.com/repos/OS2mo/os2mo","forks_url":"https://api.github.com/repos/OS2mo/os2mo/forks","keys_url":"https://api.github.com/repos/OS2mo/os2mo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OS2mo/os2mo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OS2mo/os2mo/teams","hooks_url":"https://api.github.com/repos/OS2mo/os2mo/hooks","issue_events_url":"https://api.github.com/repos/OS2mo/os2mo/issues/events{/number}","events_url":"https://api.github.com/repos/OS2mo/os2mo/events","assignees_url":"https://api.github.com/repos/OS2mo/os2mo/assignees{/user}","branches_url":"https://api.github.com/repos/OS2mo/os2mo/branches{/branch}","tags_url":"https://api.github.com/repos/OS2mo/os2mo/tags","blobs_url":"https://api.github.com/repos/OS2mo/os2mo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OS2mo/os2mo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OS2mo/os2mo/git/refs{/sha}","trees_url":"https://api.github.com/repos/OS2mo/os2mo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OS2mo/os2mo/statuses/{sha}","languages_url":"https://api.github.com/repos/OS2mo/os2mo/languages","stargazers_url":"https://api.github.com/repos/OS2mo/os2mo/stargazers","contributors_url":"https://api.github.com/repos/OS2mo/os2mo/contributors","subscribers_url":"https://api.github.com/repos/OS2mo/os2mo/subscribers","subscription_url":"https://api.github.com/repos/OS2mo/os2mo/subscription","commits_url":"https://api.github.com/repos/OS2mo/os2mo/commits{/sha}","git_commits_url":"https://api.github.com/repos/OS2mo/os2mo/git/commits{/sha}","comments_url":"https://api.github.com/repos/OS2mo/os2mo/comments{/number}","issue_comment_url":"https://api.github.com/repos/OS2mo/os2mo/issues/comments{/number}","contents_url":"https://api.github.com/repos/OS2mo/os2mo/contents/{+path}","compare_url":"https://api.github.com/repos/OS2mo/os2mo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OS2mo/os2mo/merges","archive_url":"https://api.github.com/repos/OS2mo/os2mo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OS2mo/os2mo/downloads","issues_url":"https://api.github.com/repos/OS2mo/os2mo/issues{/number}","pulls_url":"https://api.github.com/repos/OS2mo/os2mo/pulls{/number}","milestones_url":"https://api.github.com/repos/OS2mo/os2mo/milestones{/number}","notifications_url":"https://api.github.com/repos/OS2mo/os2mo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OS2mo/os2mo/labels{/name}","releases_url":"https://api.github.com/repos/OS2mo/os2mo/releases{/id}","deployments_url":"https://api.github.com/repos/OS2mo/os2mo/deployments","created_at":"2017-05-08T08:05:11Z","updated_at":"2018-11-15T14:07:27Z","pushed_at":"2018-11-16T06:48:00Z","git_url":"git://github.com/OS2mo/os2mo.git","ssh_url":"git@github.com:OS2mo/os2mo.git","clone_url":"https://github.com/OS2mo/os2mo.git","svn_url":"https://github.com/OS2mo/os2mo","homepage":"https://mora.readthedocs.io","size":11283,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":23,"license":{"key":"mpl-2.0","name":"Mozilla Public License 2.0","spdx_id":"MPL-2.0","url":"https://api.github.com/licenses/mpl-2.0","node_id":"MDc6TGljZW5zZTE0"},"forks":2,"open_issues":23,"watchers":2,"default_branch":"development"}},"_links":{"self":{"href":"https://api.github.com/repos/OS2mo/os2mo/pulls/222"},"html":{"href":"https://github.com/OS2mo/os2mo/pull/222"},"issue":{"href":"https://api.github.com/repos/OS2mo/os2mo/issues/222"},"comments":{"href":"https://api.github.com/repos/OS2mo/os2mo/issues/222/comments"},"review_comments":{"href":"https://api.github.com/repos/OS2mo/os2mo/pulls/222/comments"},"review_comment":{"href":"https://api.github.com/repos/OS2mo/os2mo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OS2mo/os2mo/pulls/222/commits"},"statuses":{"href":"https://api.github.com/repos/OS2mo/os2mo/statuses/7bbaaba619fcff9b018b60581800d376884e1252"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"cmoesgaard"}}