{"action":"created","comment":{"url":"https://api.github.com/repos/OpenSlides/OpenSlides/pulls/comments/28007115","id":28007115,"diff_hunk":"@@ -811,3 +814,69 @@ def get_queryset(self):\n         if not self.request.user.has_perm('agenda.can_see_orga_items'):\n             queryset = queryset.exclude(type__exact=Item.ORGANIZATIONAL_ITEM)\n         return queryset\n+\n+    @list_route(methods=['get', 'put'])\n+    def tree(self, request):\n+        \"\"\"\n+        Returns or set the agenda tree.","path":"openslides/agenda/views.py","position":25,"original_position":25,"commit_id":"10ed85a2b331f63b1b590246b7b70d5f90a92aea","original_commit_id":"10ed85a2b331f63b1b590246b7b70d5f90a92aea","user":{"login":"normanjaeckel","id":2073844,"avatar_url":"https://avatars.githubusercontent.com/u/2073844?v=3","gravatar_id":"","url":"https://api.github.com/users/normanjaeckel","html_url":"https://github.com/normanjaeckel","followers_url":"https://api.github.com/users/normanjaeckel/followers","following_url":"https://api.github.com/users/normanjaeckel/following{/other_user}","gists_url":"https://api.github.com/users/normanjaeckel/gists{/gist_id}","starred_url":"https://api.github.com/users/normanjaeckel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/normanjaeckel/subscriptions","organizations_url":"https://api.github.com/users/normanjaeckel/orgs","repos_url":"https://api.github.com/users/normanjaeckel/repos","events_url":"https://api.github.com/users/normanjaeckel/events{/privacy}","received_events_url":"https://api.github.com/users/normanjaeckel/received_events","type":"User","site_admin":false},"body":"Typo: sets","created_at":"2015-04-08T20:02:48Z","updated_at":"2015-04-08T20:02:48Z","html_url":"https://github.com/OpenSlides/OpenSlides/pull/1511#discussion_r28007115","pull_request_url":"https://api.github.com/repos/OpenSlides/OpenSlides/pulls/1511","_links":{"self":{"href":"https://api.github.com/repos/OpenSlides/OpenSlides/pulls/comments/28007115"},"html":{"href":"https://github.com/OpenSlides/OpenSlides/pull/1511#discussion_r28007115"},"pull_request":{"href":"https://api.github.com/repos/OpenSlides/OpenSlides/pulls/1511"}}},"pull_request":{"url":"https://api.github.com/repos/OpenSlides/OpenSlides/pulls/1511","id":32180999,"html_url":"https://github.com/OpenSlides/OpenSlides/pull/1511","diff_url":"https://github.com/OpenSlides/OpenSlides/pull/1511.diff","patch_url":"https://github.com/OpenSlides/OpenSlides/pull/1511.patch","issue_url":"https://api.github.com/repos/OpenSlides/OpenSlides/issues/1511","number":1511,"state":"open","locked":false,"title":"Send seperat tree for agenda items","user":{"login":"ostcar","id":977937,"avatar_url":"https://avatars.githubusercontent.com/u/977937?v=3","gravatar_id":"","url":"https://api.github.com/users/ostcar","html_url":"https://github.com/ostcar","followers_url":"https://api.github.com/users/ostcar/followers","following_url":"https://api.github.com/users/ostcar/following{/other_user}","gists_url":"https://api.github.com/users/ostcar/gists{/gist_id}","starred_url":"https://api.github.com/users/ostcar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ostcar/subscriptions","organizations_url":"https://api.github.com/users/ostcar/orgs","repos_url":"https://api.github.com/users/ostcar/repos","events_url":"https://api.github.com/users/ostcar/events{/privacy}","received_events_url":"https://api.github.com/users/ostcar/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-03-29T12:44:06Z","updated_at":"2015-04-08T20:02:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a94154704e9759e9499dc65dbe9d2588aabb4993","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/OpenSlides/OpenSlides/pulls/1511/commits","review_comments_url":"https://api.github.com/repos/OpenSlides/OpenSlides/pulls/1511/comments","review_comment_url":"https://api.github.com/repos/OpenSlides/OpenSlides/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OpenSlides/OpenSlides/issues/1511/comments","statuses_url":"https://api.github.com/repos/OpenSlides/OpenSlides/statuses/10ed85a2b331f63b1b590246b7b70d5f90a92aea","head":{"label":"ostcar:agenda_rest","ref":"agenda_rest","sha":"10ed85a2b331f63b1b590246b7b70d5f90a92aea","user":{"login":"ostcar","id":977937,"avatar_url":"https://avatars.githubusercontent.com/u/977937?v=3","gravatar_id":"","url":"https://api.github.com/users/ostcar","html_url":"https://github.com/ostcar","followers_url":"https://api.github.com/users/ostcar/followers","following_url":"https://api.github.com/users/ostcar/following{/other_user}","gists_url":"https://api.github.com/users/ostcar/gists{/gist_id}","starred_url":"https://api.github.com/users/ostcar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ostcar/subscriptions","organizations_url":"https://api.github.com/users/ostcar/orgs","repos_url":"https://api.github.com/users/ostcar/repos","events_url":"https://api.github.com/users/ostcar/events{/privacy}","received_events_url":"https://api.github.com/users/ostcar/received_events","type":"User","site_admin":false},"repo":{"id":5257807,"name":"OpenSlides","full_name":"ostcar/OpenSlides","owner":{"login":"ostcar","id":977937,"avatar_url":"https://avatars.githubusercontent.com/u/977937?v=3","gravatar_id":"","url":"https://api.github.com/users/ostcar","html_url":"https://github.com/ostcar","followers_url":"https://api.github.com/users/ostcar/followers","following_url":"https://api.github.com/users/ostcar/following{/other_user}","gists_url":"https://api.github.com/users/ostcar/gists{/gist_id}","starred_url":"https://api.github.com/users/ostcar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ostcar/subscriptions","organizations_url":"https://api.github.com/users/ostcar/orgs","repos_url":"https://api.github.com/users/ostcar/repos","events_url":"https://api.github.com/users/ostcar/events{/privacy}","received_events_url":"https://api.github.com/users/ostcar/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ostcar/OpenSlides","description":"","fork":true,"url":"https://api.github.com/repos/ostcar/OpenSlides","forks_url":"https://api.github.com/repos/ostcar/OpenSlides/forks","keys_url":"https://api.github.com/repos/ostcar/OpenSlides/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ostcar/OpenSlides/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ostcar/OpenSlides/teams","hooks_url":"https://api.github.com/repos/ostcar/OpenSlides/hooks","issue_events_url":"https://api.github.com/repos/ostcar/OpenSlides/issues/events{/number}","events_url":"https://api.github.com/repos/ostcar/OpenSlides/events","assignees_url":"https://api.github.com/repos/ostcar/OpenSlides/assignees{/user}","branches_url":"https://api.github.com/repos/ostcar/OpenSlides/branches{/branch}","tags_url":"https://api.github.com/repos/ostcar/OpenSlides/tags","blobs_url":"https://api.github.com/repos/ostcar/OpenSlides/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ostcar/OpenSlides/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ostcar/OpenSlides/git/refs{/sha}","trees_url":"https://api.github.com/repos/ostcar/OpenSlides/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ostcar/OpenSlides/statuses/{sha}","languages_url":"https://api.github.com/repos/ostcar/OpenSlides/languages","stargazers_url":"https://api.github.com/repos/ostcar/OpenSlides/stargazers","contributors_url":"https://api.github.com/repos/ostcar/OpenSlides/contributors","subscribers_url":"https://api.github.com/repos/ostcar/OpenSlides/subscribers","subscription_url":"https://api.github.com/repos/ostcar/OpenSlides/subscription","commits_url":"https://api.github.com/repos/ostcar/OpenSlides/commits{/sha}","git_commits_url":"https://api.github.com/repos/ostcar/OpenSlides/git/commits{/sha}","comments_url":"https://api.github.com/repos/ostcar/OpenSlides/comments{/number}","issue_comment_url":"https://api.github.com/repos/ostcar/OpenSlides/issues/comments{/number}","contents_url":"https://api.github.com/repos/ostcar/OpenSlides/contents/{+path}","compare_url":"https://api.github.com/repos/ostcar/OpenSlides/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ostcar/OpenSlides/merges","archive_url":"https://api.github.com/repos/ostcar/OpenSlides/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ostcar/OpenSlides/downloads","issues_url":"https://api.github.com/repos/ostcar/OpenSlides/issues{/number}","pulls_url":"https://api.github.com/repos/ostcar/OpenSlides/pulls{/number}","milestones_url":"https://api.github.com/repos/ostcar/OpenSlides/milestones{/number}","notifications_url":"https://api.github.com/repos/ostcar/OpenSlides/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ostcar/OpenSlides/labels{/name}","releases_url":"https://api.github.com/repos/ostcar/OpenSlides/releases{/id}","created_at":"2012-08-01T10:15:17Z","updated_at":"2015-03-22T08:22:58Z","pushed_at":"2015-03-29T18:41:07Z","git_url":"git://github.com/ostcar/OpenSlides.git","ssh_url":"git@github.com:ostcar/OpenSlides.git","clone_url":"https://github.com/ostcar/OpenSlides.git","svn_url":"https://github.com/ostcar/OpenSlides","homepage":null,"size":37402,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"OpenSlides:master","ref":"master","sha":"c66c0c738be8b3ea92ed813383179f841cc75b4f","user":{"login":"OpenSlides","id":2055730,"avatar_url":"https://avatars.githubusercontent.com/u/2055730?v=3","gravatar_id":"","url":"https://api.github.com/users/OpenSlides","html_url":"https://github.com/OpenSlides","followers_url":"https://api.github.com/users/OpenSlides/followers","following_url":"https://api.github.com/users/OpenSlides/following{/other_user}","gists_url":"https://api.github.com/users/OpenSlides/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenSlides/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenSlides/subscriptions","organizations_url":"https://api.github.com/users/OpenSlides/orgs","repos_url":"https://api.github.com/users/OpenSlides/repos","events_url":"https://api.github.com/users/OpenSlides/events{/privacy}","received_events_url":"https://api.github.com/users/OpenSlides/received_events","type":"Organization","site_admin":false},"repo":{"id":5250779,"name":"OpenSlides","full_name":"OpenSlides/OpenSlides","owner":{"login":"OpenSlides","id":2055730,"avatar_url":"https://avatars.githubusercontent.com/u/2055730?v=3","gravatar_id":"","url":"https://api.github.com/users/OpenSlides","html_url":"https://github.com/OpenSlides","followers_url":"https://api.github.com/users/OpenSlides/followers","following_url":"https://api.github.com/users/OpenSlides/following{/other_user}","gists_url":"https://api.github.com/users/OpenSlides/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenSlides/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenSlides/subscriptions","organizations_url":"https://api.github.com/users/OpenSlides/orgs","repos_url":"https://api.github.com/users/OpenSlides/repos","events_url":"https://api.github.com/users/OpenSlides/events{/privacy}","received_events_url":"https://api.github.com/users/OpenSlides/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/OpenSlides/OpenSlides","description":"Presentation and assembly system","fork":false,"url":"https://api.github.com/repos/OpenSlides/OpenSlides","forks_url":"https://api.github.com/repos/OpenSlides/OpenSlides/forks","keys_url":"https://api.github.com/repos/OpenSlides/OpenSlides/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OpenSlides/OpenSlides/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OpenSlides/OpenSlides/teams","hooks_url":"https://api.github.com/repos/OpenSlides/OpenSlides/hooks","issue_events_url":"https://api.github.com/repos/OpenSlides/OpenSlides/issues/events{/number}","events_url":"https://api.github.com/repos/OpenSlides/OpenSlides/events","assignees_url":"https://api.github.com/repos/OpenSlides/OpenSlides/assignees{/user}","branches_url":"https://api.github.com/repos/OpenSlides/OpenSlides/branches{/branch}","tags_url":"https://api.github.com/repos/OpenSlides/OpenSlides/tags","blobs_url":"https://api.github.com/repos/OpenSlides/OpenSlides/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OpenSlides/OpenSlides/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OpenSlides/OpenSlides/git/refs{/sha}","trees_url":"https://api.github.com/repos/OpenSlides/OpenSlides/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OpenSlides/OpenSlides/statuses/{sha}","languages_url":"https://api.github.com/repos/OpenSlides/OpenSlides/languages","stargazers_url":"https://api.github.com/repos/OpenSlides/OpenSlides/stargazers","contributors_url":"https://api.github.com/repos/OpenSlides/OpenSlides/contributors","subscribers_url":"https://api.github.com/repos/OpenSlides/OpenSlides/subscribers","subscription_url":"https://api.github.com/repos/OpenSlides/OpenSlides/subscription","commits_url":"https://api.github.com/repos/OpenSlides/OpenSlides/commits{/sha}","git_commits_url":"https://api.github.com/repos/OpenSlides/OpenSlides/git/commits{/sha}","comments_url":"https://api.github.com/repos/OpenSlides/OpenSlides/comments{/number}","issue_comment_url":"https://api.github.com/repos/OpenSlides/OpenSlides/issues/comments{/number}","contents_url":"https://api.github.com/repos/OpenSlides/OpenSlides/contents/{+path}","compare_url":"https://api.github.com/repos/OpenSlides/OpenSlides/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OpenSlides/OpenSlides/merges","archive_url":"https://api.github.com/repos/OpenSlides/OpenSlides/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OpenSlides/OpenSlides/downloads","issues_url":"https://api.github.com/repos/OpenSlides/OpenSlides/issues{/number}","pulls_url":"https://api.github.com/repos/OpenSlides/OpenSlides/pulls{/number}","milestones_url":"https://api.github.com/repos/OpenSlides/OpenSlides/milestones{/number}","notifications_url":"https://api.github.com/repos/OpenSlides/OpenSlides/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OpenSlides/OpenSlides/labels{/name}","releases_url":"https://api.github.com/repos/OpenSlides/OpenSlides/releases{/id}","created_at":"2012-07-31T20:04:39Z","updated_at":"2015-04-01T20:16:12Z","pushed_at":"2015-04-08T14:34:15Z","git_url":"git://github.com/OpenSlides/OpenSlides.git","ssh_url":"git@github.com:OpenSlides/OpenSlides.git","clone_url":"https://github.com/OpenSlides/OpenSlides.git","svn_url":"https://github.com/OpenSlides/OpenSlides","homepage":"http://openslides.org","size":39220,"stargazers_count":63,"watchers_count":63,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":31,"mirror_url":null,"open_issues_count":118,"forks":31,"open_issues":118,"watchers":63,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/OpenSlides/OpenSlides/pulls/1511"},"html":{"href":"https://github.com/OpenSlides/OpenSlides/pull/1511"},"issue":{"href":"https://api.github.com/repos/OpenSlides/OpenSlides/issues/1511"},"comments":{"href":"https://api.github.com/repos/OpenSlides/OpenSlides/issues/1511/comments"},"review_comments":{"href":"https://api.github.com/repos/OpenSlides/OpenSlides/pulls/1511/comments"},"review_comment":{"href":"https://api.github.com/repos/OpenSlides/OpenSlides/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OpenSlides/OpenSlides/pulls/1511/commits"},"statuses":{"href":"https://api.github.com/repos/OpenSlides/OpenSlides/statuses/10ed85a2b331f63b1b590246b7b70d5f90a92aea"}}}}