mirror of https://github.com/zulip/zulip.git
api docs: Fix syntax for get-user-groups.
This apparently had some sort of rebase conflict issue with the migration to the nicer syntax for tabs.
This commit is contained in:
parent
2e97b03b2b
commit
6763e77ee2
|
@ -6,31 +6,19 @@ Fetches all of the user groups in the organization.
|
||||||
|
|
||||||
## Usage examples
|
## Usage examples
|
||||||
|
|
||||||
<div class="code-section" markdown="1">
|
{start_tabs}
|
||||||
<ul class="nav">
|
{tab|python}
|
||||||
<li data-language="python">Python</li>
|
|
||||||
<li data-language="curl">curl</li>
|
|
||||||
</ul>
|
|
||||||
<div class="blocks">
|
|
||||||
|
|
||||||
<div data-language="curl" markdown="1">
|
{generate_code_example(python)|/user_groups:get|example}
|
||||||
|
|
||||||
|
{tab|curl}
|
||||||
|
|
||||||
``` curl
|
``` curl
|
||||||
curl -X GET {{ api_url }}/v1/user_groups \
|
curl -X GET {{ api_url }}/v1/user_groups \
|
||||||
-u BOT_EMAIL_ADDRESS:BOT_API_KEY
|
-u BOT_EMAIL_ADDRESS:BOT_API_KEY
|
||||||
```
|
```
|
||||||
|
|
||||||
</div>
|
{end_tabs}
|
||||||
|
|
||||||
<div data-language="python" markdown="1">
|
|
||||||
|
|
||||||
{generate_code_example(python)|/user_groups:get|example}
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
## Arguments
|
## Arguments
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue