{"action":"created","comment":{"url":"https://api.github.com/repos/zulip/zulip/pulls/comments/212936254","pull_request_review_id":149664159,"id":212936254,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxMjkzNjI1NA==","diff_hunk":"@@ -0,0 +1,52 @@\n+# Get user groups\n+\n+Get all of the user groups in the realm.\n+\n+`GET {{ api_url }}/v1/user_groups`\n+\n+## Usage examples\n+\n+<div class=\"code-section\" markdown=\"1\">\n+<ul class=\"nav\">\n+<li data-language=\"python\">Python</li>\n+<li data-language=\"curl\">curl</li>\n+</ul>\n+<div class=\"blocks\">\n+\n+<div data-language=\"curl\" markdown=\"1\">\n+\n+```\n+curl {{ api_url }}/v1/user_groups \\\n+    -u BOT_EMAIL_ADDRESS:BOT_API_KEY\n+```\n+\n+</div>\n+\n+<div data-language=\"python\" markdown=\"1\">\n+\n+{generate_code_example(python)|/user_groups:get|example}\n+\n+</div>\n+\n+</div>\n+\n+</div>\n+\n+## Arguments\n+\n+This endpoint takes no arguments.\n+\n+## Response\n+\n+#### Return values\n+","path":"templates/zerver/api/get-user-groups.md","position":42,"original_position":42,"commit_id":"a5bc4cc3e0732b99d450acea421126b566f8658a","original_commit_id":"e47bdaaac5f0d645f440b0d678eb124e5e833533","user":{"login":"zy964c","id":15901908,"node_id":"MDQ6VXNlcjE1OTAxOTA4","avatar_url":"https://avatars3.githubusercontent.com/u/15901908?v=4","gravatar_id":"","url":"https://api.github.com/users/zy964c","html_url":"https://github.com/zy964c","followers_url":"https://api.github.com/users/zy964c/followers","following_url":"https://api.github.com/users/zy964c/following{/other_user}","gists_url":"https://api.github.com/users/zy964c/gists{/gist_id}","starred_url":"https://api.github.com/users/zy964c/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zy964c/subscriptions","organizations_url":"https://api.github.com/users/zy964c/orgs","repos_url":"https://api.github.com/users/zy964c/repos","events_url":"https://api.github.com/users/zy964c/events{/privacy}","received_events_url":"https://api.github.com/users/zy964c/received_events","type":"User","site_admin":false},"body":"@YagoGG I added this bullet.","created_at":"2018-08-27T10:49:05Z","updated_at":"2018-08-27T10:49:05Z","html_url":"https://github.com/zulip/zulip/pull/10329#discussion_r212936254","pull_request_url":"https://api.github.com/repos/zulip/zulip/pulls/10329","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/zulip/zulip/pulls/comments/212936254"},"html":{"href":"https://github.com/zulip/zulip/pull/10329#discussion_r212936254"},"pull_request":{"href":"https://api.github.com/repos/zulip/zulip/pulls/10329"}},"in_reply_to_id":212809566},"pull_request":{"url":"https://api.github.com/repos/zulip/zulip/pulls/10329","id":208720360,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA4NzIwMzYw","html_url":"https://github.com/zulip/zulip/pull/10329","diff_url":"https://github.com/zulip/zulip/pull/10329.diff","patch_url":"https://github.com/zulip/zulip/pull/10329.patch","issue_url":"https://api.github.com/repos/zulip/zulip/issues/10329","number":10329,"state":"open","locked":false,"title":"api: Add an endpoint for listing the user groups in realm.","user":{"login":"zy964c","id":15901908,"node_id":"MDQ6VXNlcjE1OTAxOTA4","avatar_url":"https://avatars3.githubusercontent.com/u/15901908?v=4","gravatar_id":"","url":"https://api.github.com/users/zy964c","html_url":"https://github.com/zy964c","followers_url":"https://api.github.com/users/zy964c/followers","following_url":"https://api.github.com/users/zy964c/following{/other_user}","gists_url":"https://api.github.com/users/zy964c/gists{/gist_id}","starred_url":"https://api.github.com/users/zy964c/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zy964c/subscriptions","organizations_url":"https://api.github.com/users/zy964c/orgs","repos_url":"https://api.github.com/users/zy964c/repos","events_url":"https://api.github.com/users/zy964c/events{/privacy}","received_events_url":"https://api.github.com/users/zy964c/received_events","type":"User","site_admin":false},"body":"Adds endpoint for listing the user groups in realm.\r\nProvides \"description\", \"members\",  \"name\" and \"id\" for each user group.\r\n\r\nFixes #10298","created_at":"2018-08-16T01:04:19Z","updated_at":"2018-08-27T10:49:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"852ed0c594b7f5d3a030243e5aae5955df379bbb","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":469533612,"node_id":"MDU6TGFiZWw0Njk1MzM2MTI=","url":"https://api.github.com/repos/zulip/zulip/labels/area:%20api","name":"area: api","color":"bfd4f2","default":false},{"id":265216831,"node_id":"MDU6TGFiZWwyNjUyMTY4MzE=","url":"https://api.github.com/repos/zulip/zulip/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":804160549,"node_id":"MDU6TGFiZWw4MDQxNjA1NDk=","url":"https://api.github.com/repos/zulip/zulip/labels/size:%20XL","name":"size: XL","color":"ededed","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/zulip/zulip/pulls/10329/commits","review_comments_url":"https://api.github.com/repos/zulip/zulip/pulls/10329/comments","review_comment_url":"https://api.github.com/repos/zulip/zulip/pulls/comments{/number}","comments_url":"https://api.github.com/repos/zulip/zulip/issues/10329/comments","statuses_url":"https://api.github.com/repos/zulip/zulip/statuses/a5bc4cc3e0732b99d450acea421126b566f8658a","head":{"label":"zy964c:issue-10298-add-user-groups-endpoint","ref":"issue-10298-add-user-groups-endpoint","sha":"a5bc4cc3e0732b99d450acea421126b566f8658a","user":{"login":"zy964c","id":15901908,"node_id":"MDQ6VXNlcjE1OTAxOTA4","avatar_url":"https://avatars3.githubusercontent.com/u/15901908?v=4","gravatar_id":"","url":"https://api.github.com/users/zy964c","html_url":"https://github.com/zy964c","followers_url":"https://api.github.com/users/zy964c/followers","following_url":"https://api.github.com/users/zy964c/following{/other_user}","gists_url":"https://api.github.com/users/zy964c/gists{/gist_id}","starred_url":"https://api.github.com/users/zy964c/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zy964c/subscriptions","organizations_url":"https://api.github.com/users/zy964c/orgs","repos_url":"https://api.github.com/users/zy964c/repos","events_url":"https://api.github.com/users/zy964c/events{/privacy}","received_events_url":"https://api.github.com/users/zy964c/received_events","type":"User","site_admin":false},"repo":{"id":108753997,"node_id":"MDEwOlJlcG9zaXRvcnkxMDg3NTM5OTc=","name":"zulip","full_name":"zy964c/zulip","owner":{"login":"zy964c","id":15901908,"node_id":"MDQ6VXNlcjE1OTAxOTA4","avatar_url":"https://avatars3.githubusercontent.com/u/15901908?v=4","gravatar_id":"","url":"https://api.github.com/users/zy964c","html_url":"https://github.com/zy964c","followers_url":"https://api.github.com/users/zy964c/followers","following_url":"https://api.github.com/users/zy964c/following{/other_user}","gists_url":"https://api.github.com/users/zy964c/gists{/gist_id}","starred_url":"https://api.github.com/users/zy964c/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zy964c/subscriptions","organizations_url":"https://api.github.com/users/zy964c/orgs","repos_url":"https://api.github.com/users/zy964c/repos","events_url":"https://api.github.com/users/zy964c/events{/privacy}","received_events_url":"https://api.github.com/users/zy964c/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/zy964c/zulip","description":"Zulip server - powerful open source group chat","fork":true,"url":"https://api.github.com/repos/zy964c/zulip","forks_url":"https://api.github.com/repos/zy964c/zulip/forks","keys_url":"https://api.github.com/repos/zy964c/zulip/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zy964c/zulip/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zy964c/zulip/teams","hooks_url":"https://api.github.com/repos/zy964c/zulip/hooks","issue_events_url":"https://api.github.com/repos/zy964c/zulip/issues/events{/number}","events_url":"https://api.github.com/repos/zy964c/zulip/events","assignees_url":"https://api.github.com/repos/zy964c/zulip/assignees{/user}","branches_url":"https://api.github.com/repos/zy964c/zulip/branches{/branch}","tags_url":"https://api.github.com/repos/zy964c/zulip/tags","blobs_url":"https://api.github.com/repos/zy964c/zulip/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zy964c/zulip/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zy964c/zulip/git/refs{/sha}","trees_url":"https://api.github.com/repos/zy964c/zulip/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zy964c/zulip/statuses/{sha}","languages_url":"https://api.github.com/repos/zy964c/zulip/languages","stargazers_url":"https://api.github.com/repos/zy964c/zulip/stargazers","contributors_url":"https://api.github.com/repos/zy964c/zulip/contributors","subscribers_url":"https://api.github.com/repos/zy964c/zulip/subscribers","subscription_url":"https://api.github.com/repos/zy964c/zulip/subscription","commits_url":"https://api.github.com/repos/zy964c/zulip/commits{/sha}","git_commits_url":"https://api.github.com/repos/zy964c/zulip/git/commits{/sha}","comments_url":"https://api.github.com/repos/zy964c/zulip/comments{/number}","issue_comment_url":"https://api.github.com/repos/zy964c/zulip/issues/comments{/number}","contents_url":"https://api.github.com/repos/zy964c/zulip/contents/{+path}","compare_url":"https://api.github.com/repos/zy964c/zulip/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zy964c/zulip/merges","archive_url":"https://api.github.com/repos/zy964c/zulip/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zy964c/zulip/downloads","issues_url":"https://api.github.com/repos/zy964c/zulip/issues{/number}","pulls_url":"https://api.github.com/repos/zy964c/zulip/pulls{/number}","milestones_url":"https://api.github.com/repos/zy964c/zulip/milestones{/number}","notifications_url":"https://api.github.com/repos/zy964c/zulip/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zy964c/zulip/labels{/name}","releases_url":"https://api.github.com/repos/zy964c/zulip/releases{/id}","deployments_url":"https://api.github.com/repos/zy964c/zulip/deployments","created_at":"2017-10-29T17:09:36Z","updated_at":"2017-10-29T17:09:43Z","pushed_at":"2018-08-27T10:47:41Z","git_url":"git://github.com/zy964c/zulip.git","ssh_url":"git@github.com:zy964c/zulip.git","clone_url":"https://github.com/zy964c/zulip.git","svn_url":"https://github.com/zy964c/zulip","homepage":"","size":215310,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"issue-5489-realm-name-setting"}},"base":{"label":"zulip:master","ref":"master","sha":"6f57cd4d237445cb5d26e58c71d0035f446b22d6","user":{"login":"zulip","id":4921959,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ5MjE5NTk=","avatar_url":"https://avatars2.githubusercontent.com/u/4921959?v=4","gravatar_id":"","url":"https://api.github.com/users/zulip","html_url":"https://github.com/zulip","followers_url":"https://api.github.com/users/zulip/followers","following_url":"https://api.github.com/users/zulip/following{/other_user}","gists_url":"https://api.github.com/users/zulip/gists{/gist_id}","starred_url":"https://api.github.com/users/zulip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zulip/subscriptions","organizations_url":"https://api.github.com/users/zulip/orgs","repos_url":"https://api.github.com/users/zulip/repos","events_url":"https://api.github.com/users/zulip/events{/privacy}","received_events_url":"https://api.github.com/users/zulip/received_events","type":"Organization","site_admin":false},"repo":{"id":43160685,"node_id":"MDEwOlJlcG9zaXRvcnk0MzE2MDY4NQ==","name":"zulip","full_name":"zulip/zulip","owner":{"login":"zulip","id":4921959,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ5MjE5NTk=","avatar_url":"https://avatars2.githubusercontent.com/u/4921959?v=4","gravatar_id":"","url":"https://api.github.com/users/zulip","html_url":"https://github.com/zulip","followers_url":"https://api.github.com/users/zulip/followers","following_url":"https://api.github.com/users/zulip/following{/other_user}","gists_url":"https://api.github.com/users/zulip/gists{/gist_id}","starred_url":"https://api.github.com/users/zulip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zulip/subscriptions","organizations_url":"https://api.github.com/users/zulip/orgs","repos_url":"https://api.github.com/users/zulip/repos","events_url":"https://api.github.com/users/zulip/events{/privacy}","received_events_url":"https://api.github.com/users/zulip/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/zulip/zulip","description":"Zulip server - powerful open source team chat","fork":false,"url":"https://api.github.com/repos/zulip/zulip","forks_url":"https://api.github.com/repos/zulip/zulip/forks","keys_url":"https://api.github.com/repos/zulip/zulip/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zulip/zulip/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zulip/zulip/teams","hooks_url":"https://api.github.com/repos/zulip/zulip/hooks","issue_events_url":"https://api.github.com/repos/zulip/zulip/issues/events{/number}","events_url":"https://api.github.com/repos/zulip/zulip/events","assignees_url":"https://api.github.com/repos/zulip/zulip/assignees{/user}","branches_url":"https://api.github.com/repos/zulip/zulip/branches{/branch}","tags_url":"https://api.github.com/repos/zulip/zulip/tags","blobs_url":"https://api.github.com/repos/zulip/zulip/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zulip/zulip/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zulip/zulip/git/refs{/sha}","trees_url":"https://api.github.com/repos/zulip/zulip/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zulip/zulip/statuses/{sha}","languages_url":"https://api.github.com/repos/zulip/zulip/languages","stargazers_url":"https://api.github.com/repos/zulip/zulip/stargazers","contributors_url":"https://api.github.com/repos/zulip/zulip/contributors","subscribers_url":"https://api.github.com/repos/zulip/zulip/subscribers","subscription_url":"https://api.github.com/repos/zulip/zulip/subscription","commits_url":"https://api.github.com/repos/zulip/zulip/commits{/sha}","git_commits_url":"https://api.github.com/repos/zulip/zulip/git/commits{/sha}","comments_url":"https://api.github.com/repos/zulip/zulip/comments{/number}","issue_comment_url":"https://api.github.com/repos/zulip/zulip/issues/comments{/number}","contents_url":"https://api.github.com/repos/zulip/zulip/contents/{+path}","compare_url":"https://api.github.com/repos/zulip/zulip/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zulip/zulip/merges","archive_url":"https://api.github.com/repos/zulip/zulip/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zulip/zulip/downloads","issues_url":"https://api.github.com/repos/zulip/zulip/issues{/number}","pulls_url":"https://api.github.com/repos/zulip/zulip/pulls{/number}","milestones_url":"https://api.github.com/repos/zulip/zulip/milestones{/number}","notifications_url":"https://api.github.com/repos/zulip/zulip/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zulip/zulip/labels{/name}","releases_url":"https://api.github.com/repos/zulip/zulip/releases{/id}","deployments_url":"https://api.github.com/repos/zulip/zulip/deployments","created_at":"2015-09-25T16:37:25Z","updated_at":"2018-08-27T08:55:36Z","pushed_at":"2018-08-27T10:47:49Z","git_url":"git://github.com/zulip/zulip.git","ssh_url":"git@github.com:zulip/zulip.git","clone_url":"https://github.com/zulip/zulip.git","svn_url":"https://github.com/zulip/zulip","homepage":"https://zulip.org/","size":215376,"stargazers_count":7902,"watchers_count":7902,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2359,"mirror_url":null,"archived":false,"open_issues_count":1108,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":2359,"open_issues":1108,"watchers":7902,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/zulip/zulip/pulls/10329"},"html":{"href":"https://github.com/zulip/zulip/pull/10329"},"issue":{"href":"https://api.github.com/repos/zulip/zulip/issues/10329"},"comments":{"href":"https://api.github.com/repos/zulip/zulip/issues/10329/comments"},"review_comments":{"href":"https://api.github.com/repos/zulip/zulip/pulls/10329/comments"},"review_comment":{"href":"https://api.github.com/repos/zulip/zulip/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/zulip/zulip/pulls/10329/commits"},"statuses":{"href":"https://api.github.com/repos/zulip/zulip/statuses/a5bc4cc3e0732b99d450acea421126b566f8658a"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"zy964c"}}