mirror of https://github.com/zulip/zulip.git
docs: Make get-all-users use curl example system.
This commit is contained in:
parent
ea06dc6ab3
commit
b68b566711
|
@ -33,16 +33,11 @@ zulip(config).then((client) => {
|
|||
|
||||
{tab|curl}
|
||||
|
||||
``` curl
|
||||
curl -X GET {{ api_url }}/v1/users -u BOT_EMAIL_ADDRESS:BOT_API_KEY
|
||||
```
|
||||
{generate_code_example(curl, include=[""])|/users:get|example}
|
||||
|
||||
You may pass the `client_gravatar` query parameter as follows:
|
||||
|
||||
``` curl
|
||||
curl -X GET {{ api_url }}/v1/users?client_gravatar=true \
|
||||
-u BOT_EMAIL_ADDRESS:BOT_API_KEY
|
||||
```
|
||||
{generate_code_example(curl)|/users:get|example}
|
||||
|
||||
{end_tabs}
|
||||
|
||||
|
|
Loading…
Reference in New Issue