2018-08-18 23:06:53 +02:00
|
|
|
# Get user groups
|
|
|
|
|
2019-07-30 01:17:54 +02:00
|
|
|
{!api-members-only.md!}
|
2018-08-18 23:06:53 +02:00
|
|
|
|
2020-04-28 20:00:46 +02:00
|
|
|
{generate_api_description(/user_groups:get)}
|
2018-08-18 23:06:53 +02:00
|
|
|
|
|
|
|
## Usage examples
|
|
|
|
|
2019-06-25 07:22:00 +02:00
|
|
|
{start_tabs}
|
|
|
|
{tab|python}
|
2018-08-18 23:06:53 +02:00
|
|
|
|
2019-06-25 07:22:00 +02:00
|
|
|
{generate_code_example(python)|/user_groups:get|example}
|
|
|
|
|
|
|
|
{tab|curl}
|
2018-08-18 23:06:53 +02:00
|
|
|
|
2019-10-14 08:13:40 +02:00
|
|
|
{generate_code_example(curl)|/user_groups:get|example}
|
2018-08-18 23:06:53 +02:00
|
|
|
|
2019-06-25 07:22:00 +02:00
|
|
|
{end_tabs}
|
2018-08-18 23:06:53 +02:00
|
|
|
|
2020-06-18 15:35:25 +02:00
|
|
|
## Parameters
|
2018-08-18 23:06:53 +02:00
|
|
|
|
|
|
|
{generate_api_arguments_table|zulip.yaml|/user_groups:get}
|
|
|
|
|
|
|
|
## Response
|
|
|
|
|
|
|
|
#### Return values
|
|
|
|
|
2020-05-20 11:57:57 +02:00
|
|
|
{generate_return_values_table|zulip.yaml|/user_groups:get}
|
2018-08-18 23:06:53 +02:00
|
|
|
|
|
|
|
#### Example response
|
|
|
|
|
|
|
|
A typical successful JSON response may look like:
|
|
|
|
|
|
|
|
{generate_code_example|/user_groups:get|fixture(200)}
|